# HG changeset patch # User Paul Aurich # Date 1337743501 0 # Node ID 804239d704ffc5ceac1d41a34ee94c108c4aea33 # Parent 4acc5b98f143b6357b2b6a10fb0a2c078b8a9973 stun: Initialize 'in', silence compiler. diff -r 4acc5b98f143 -r 804239d704ff libpurple/stun.c --- a/libpurple/stun.c Fri May 04 07:33:51 2012 +0000 +++ b/libpurple/stun.c Wed May 23 03:25:01 2012 +0000 @@ -174,6 +174,8 @@ struct ifreq *ifr; struct sockaddr_in *sinptr; + memset(&in, 0, sizeof(in)); + len = recv(source, buffer, sizeof(buffer) - 1, 0); if (!len) { purple_debug_warning("stun", "unable to read stun response\n");