changeset 12877:a7bf698eb37c

[gaim-migrate @ 15229] Do you believe in magic? I don't. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 14 Jan 2006 17:58:36 +0000
parents 2c3ee0eff94b
children ba82ecb2d6f5
files src/stun.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/stun.c	Sat Jan 14 17:43:32 2006 +0000
+++ b/src/stun.c	Sat Jan 14 17:58:36 2006 +0000
@@ -81,9 +81,12 @@
 	size_t packetsize;
 };
 
-static GaimStunNatDiscovery nattype = {-1, 0, "\0", NULL, 0};
+static GaimStunNatDiscovery nattype = {
+	GAIM_STUN_STATUS_UNDISCOVERED,
+	GAIM_STUN_NAT_TYPE_PUBLIC_IP,
+	"\0", NULL, 0};
 
-static GSList *callbacks = 0;
+static GSList *callbacks = NULL;
 
 static void close_stun_conn(struct stun_conn *sc) {