]> andersk Git - libfaim.git/commitdiff
Fix the small bug in aim_newcon.
authormid <mid>
Tue, 28 Dec 1999 06:46:30 +0000 (06:46 +0000)
committermid <mid>
Tue, 28 Dec 1999 06:46:30 +0000 (06:46 +0000)
aim_conn.c
utils/Makefile

index 69f06c9db6f3939f46faf4ef1808fe1cd6f57b0a..4452ebb84a2a8b2d479699dc0f49fc6d70b31684 100644 (file)
@@ -100,6 +100,9 @@ struct aim_conn_t *aim_newconn(struct aim_session_t *sess,
     }
   host = (char *)malloc(i+1);
   strncpy(host, dest, i);
+  host[i] = '\0';
+
+ printf("host = \"%s\"\n", host);
 
   hp = gethostbyname2(host, AF_INET);
   free(host);
index ae11c4e1dafaadb0e67fbaea943d38531e33b69e..eb3475a72d15808726749d37a44adcb14f078334 100644 (file)
@@ -1,6 +1,6 @@
 include Makefile.dynamicrules
 
-UTIL_DIRS = faimtest #aimpasswd
+UTIL_DIRS = aimdump faimtest #aimpasswd
 
 utils_all: 
        @dirs='$(UTIL_DIRS)'; \
This page took 0.162544 seconds and 5 git commands to generate.