Mercurial > pidgin
diff libfaim/aim_conn.c @ 889:e1da6a6ec42b
[gaim-migrate @ 899]
Oscar works again
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 12 Sep 2000 20:21:36 +0000 |
parents | 595ac7759563 |
children | 5e6ca3dd4d02 |
line wrap: on
line diff
--- a/libfaim/aim_conn.c Tue Sep 12 17:56:39 2000 +0000 +++ b/libfaim/aim_conn.c Tue Sep 12 20:21:36 2000 +0000 @@ -8,9 +8,11 @@ #include <faim/aim.h> +#ifndef _WIN32 #include <netdb.h> #include <sys/socket.h> #include <netinet/in.h> +#endif /* * Clears out connection list, killing remaining connections. @@ -202,7 +204,7 @@ * */ - for(i=0;i<strlen(dest);i++) { + for(i=0;i<(int)strlen(dest);i++) { if (dest[i] == ':') { port = atoi(&(dest[i+1])); break;