Mercurial > pidgin.yaz
comparison libpurple/stun.c @ 22007:c38d72677c8a
Probe for -Wstrict-prototypes to get some more warnings. I then cleaned up
the existing warnings. I removed a handful of dead code and cleaned up a
couple of things that I stumbled across.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 03 Jan 2008 04:57:40 +0000 |
parents | 6bf32c9e15a7 |
children | a6e3cb32cdd2 |
comparison
equal
deleted
inserted
replaced
21975:c7c5e2ff2b04 | 22007:c38d72677c8a |
---|---|
102 close(sc->fd); | 102 close(sc->fd); |
103 | 103 |
104 g_free(sc); | 104 g_free(sc); |
105 } | 105 } |
106 | 106 |
107 static void do_callbacks() { | 107 static void do_callbacks(void) { |
108 while(callbacks) { | 108 while(callbacks) { |
109 StunCallback cb = callbacks->data; | 109 StunCallback cb = callbacks->data; |
110 if(cb) | 110 if(cb) |
111 cb(&nattype); | 111 cb(&nattype); |
112 callbacks = g_slist_remove(callbacks, cb); | 112 callbacks = g_slist_remove(callbacks, cb); |