Mercurial > pidgin.yaz
comparison libpurple/protocols/bonjour/mdns_win32.c @ 17790:a8aa651f341f
advertisment_fd is an input handler, not a fd; name it accurately to avoid confusion.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 08 Jun 2007 05:06:47 +0000 |
parents | bbe9248337ea |
children | 1faa319ab4c3 |
comparison
equal
deleted
inserted
replaced
17782:5eebb9b24e30 | 17790:a8aa651f341f |
---|---|
278 } | 278 } |
279 else if (PUBLISH_START == type) | 279 else if (PUBLISH_START == type) |
280 { | 280 { |
281 /* hack: Bonjour on windows is broken. We don't care about the callback but we have to listen anyway */ | 281 /* hack: Bonjour on windows is broken. We don't care about the callback but we have to listen anyway */ |
282 gint advertisement_fd = DNSServiceRefSockFD(data->advertisement); | 282 gint advertisement_fd = DNSServiceRefSockFD(data->advertisement); |
283 data->advertisement_fd = purple_input_add(advertisement_fd, PURPLE_INPUT_READ, _mdns_handle_event, data->advertisement); | 283 data->advertisement_handler = purple_input_add(advertisement_fd, PURPLE_INPUT_READ, _mdns_handle_event, data->advertisement); |
284 } | 284 } |
285 } | 285 } |
286 | 286 |
287 /* Free the memory used by temp data */ | 287 /* Free the memory used by temp data */ |
288 TXTRecordDeallocate(&dns_data); | 288 TXTRecordDeallocate(&dns_data); |