diff libfdproto/utils.c @ 1084:6b7966ea27fb

Fix a few compilation issues
author Sebastien Decugis <sdecugis@freediameter.net>
date Fri, 03 May 2013 15:33:57 +0800
parents 765134772e47
children 7d7266115a34
line wrap: on
line diff
--- a/libfdproto/utils.c	Fri May 03 15:23:11 2013 +0800
+++ b/libfdproto/utils.c	Fri May 03 15:33:57 2013 +0800
@@ -43,7 +43,7 @@
 		if (rc)
 			snprintf(buf, bufsize, "%s", gai_strerror(rc));
 		else
-			snprintf(buf, bufsize, "%s", &__addrbuf[0]);
+			snprintf(buf, bufsize, "%s", &addrbuf[0]);
 	} else {
 		snprintf(buf, bufsize, "(NULL / ANY)");
 	}
@@ -59,7 +59,7 @@
 		if (rc)
 			snprintf(buf, bufsize, "%s", gai_strerror(rc));
 		else
-			snprintf(buf, bufsize, "%s", &__addrbuf[0]);
+			snprintf(buf, bufsize, "%s", &addrbuf[0]);
 	} else {
 		snprintf(buf, bufsize, "(NULL / ANY)");
 	}
"Welcome to our mercurial repository"