changeset 12917:a85c8c11bfab

[gaim-migrate @ 15270] Fix compile when you don't HAVE_GETADDRINFO. I swear that I committed this yesterday, but apparently not. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 17 Jan 2006 18:36:29 +0000
parents 8401da9b976f
children a05fbd9dcc31
files src/network.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/network.c	Tue Jan 17 17:06:31 2006 +0000
+++ b/src/network.c	Tue Jan 17 18:36:29 2006 +0000
@@ -217,11 +217,11 @@
 {
 	int listenfd = -1;
 	const int on = 1;
+	ListenUPnPData *ld;
 #if HAVE_GETADDRINFO
 	int errnum;
 	struct addrinfo hints, *res, *next;
 	char serv[6];
-	ListenUPnPData *ld;
 
 	/*
 	 * Get a list of addresses on this machine.