pidgin: c7835861: stun: Initialize 'in', silence compiler.
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Tue May 22 23:31:23 EDT 2012
----------------------------------------------------------------------
Revision: c783586116efc784f256230deebc63785a85afde
Parent: 7670ce67bc63a5de6e08abc4b4903c12146c4790
Author: darkrain42 at pidgin.im
Date: 05/22/12 23:25:01
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c783586116efc784f256230deebc63785a85afde
Changelog:
stun: Initialize 'in', silence compiler.
Changes against parent 7670ce67bc63a5de6e08abc4b4903c12146c4790
patched libpurple/stun.c
-------------- next part --------------
============================================================
--- libpurple/stun.c 5d17b53067f34846fab9ae4cd91a234c51d56632
+++ libpurple/stun.c d70c2d282368aa31363b73bdbc1927dca508822a
@@ -174,6 +174,8 @@ static void reply_cb(gpointer data, gint
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");
More information about the Commits
mailing list