- Timestamp:
- Jul 9, 2009, 4:48:08 PM (15 years ago)
- Location:
- source/ariba
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/Makefile.am
r4840 r4841 334 334 utility/bootstrap/BootstrapManager.cpp \ 335 335 utility/bootstrap/modules/BootstrapModule.cpp \ 336 utility/bootstrap/modules/multicastdns/MulticastDns.cpp 336 utility/bootstrap/modules/multicastdns/MulticastDns.cpp \ 337 337 utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp 338 338 … … 341 341 utility/bootstrap/BootstrapInformationCallback.h \ 342 342 utility/bootstrap/modules/BootstrapModule.h \ 343 utility/bootstrap/modules/multicastdns/MulticastDns.h 343 utility/bootstrap/modules/multicastdns/MulticastDns.h \ 344 344 utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.h 345 345 -
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.