Changeset 4442:2d3a1ad3edcc in roaraudio for roard/req.c


Ignore:
Timestamp:
10/09/10 16:02:44 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

make config default string symbolic, do not use it for server_info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/req.c

    r4441 r4442  
    562562 
    563563   info.version = "roard/" PACKAGE_VERSION " <" DEVICE_VENDOR_STRING ">"; 
    564    info.location = g_config->location; 
     564 
     565   if ( !!strcmp(g_config->location, CONF_DEF_STRING) ) 
     566    info.location = g_config->location; 
     567 
     568   if ( !!strcmp(g_config->description, CONF_DEF_STRING) ) 
    565569   info.description = g_config->description; 
    566570 
Note: See TracChangeset for help on using the changeset viewer.