Changeset 4841 for source/ariba/utility/bootstrap/modules
- Timestamp:
- Jul 9, 2009, 4:48:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/bootstrap/modules/multicastdns/MulticastDns.cpp
r4838 r4841 88 88 (AvahiClientFlags)0, MulticastDns::client_callback, this, &error ); 89 89 if( avahiclient == NULL){ 90 logging_error("creating avahi client failed"); 90 logging_error("creating avahi client failed with error " 91 << error << ". make sure that the avahi-daemon is running. e.g. by installing avahi-utils); 91 92 return; 92 93 } … … 138 139 // 139 140 140 avahi_client_free( avahiclient ); 141 if(avahiclient != NULL) 142 avahi_client_free( avahiclient ); 141 143 avahiclient = NULL; 142 144 143 avahi_threaded_poll_free( avahipoll ); 145 if(avahipoll != NULL) 146 avahi_threaded_poll_free( avahipoll ); 144 147 avahipoll = NULL; 145 148 … … 156 159 } 157 160 161 if( avahiclient == NULL ){ 162 logging_error("avahi client is invalid"); 163 return; 164 } 158 165 159 166 avahi_threaded_poll_lock(avahipoll); 160 assert( avahiclient != NULL );161 162 167 int ret = 0; 163 168
Note:
See TracChangeset
for help on using the changeset viewer.