diff -U 3 -H -d -r -N -- cups-1.7.2/scheduler/dirsvc.c cups-1.7.2.mod/scheduler/dirsvc.c
old
|
new
|
|
237 | 237 | if (BrowseLocalProtocols & BROWSE_SMB) |
238 | 238 | update_smb(1); |
239 | 239 | |
| 240 | # ifdef HAVE_DNSSD |
240 | 241 | /* |
241 | 242 | * Register the individual printers |
242 | 243 | */ |
243 | 244 | |
244 | 245 | dnssdRegisterAllPrinters(0); |
| 246 | # endif /* HAVE_DNSSD */ |
245 | 247 | } |
246 | 248 | |
247 | 249 | |
… |
… |
|
255 | 257 | if (!Browsing || !BrowseLocalProtocols) |
256 | 258 | return; |
257 | 259 | |
258 | | /* |
| 260 | # ifdef HAVE_DNSSD |
| 261 | /* |
259 | 262 | * De-register the individual printers |
260 | 263 | */ |
261 | 264 | |
262 | 265 | dnssdDeregisterAllPrinters(0); |
| 266 | # endif /* HAVE_DNSSD */ |
263 | 267 | |
264 | 268 | /* |
265 | 269 | * Shut down browsing sockets... |