Index: src/proxy.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/proxy.c,v retrieving revision 1.96 diff -u -p -r1.96 proxy.c --- src/proxy.c 19 May 2004 04:41:01 -0000 1.96 +++ src/proxy.c 26 May 2004 17:01:06 -0000 @@ -690,7 +690,7 @@ no_one_calls(gpointer data, gint source, if (ret == 0 && error == EINPROGRESS) return; // we'll be called again later if (ret < 0 || error != 0) { - if(ret==0) errno = error; + if(ret!=0) error = errno; close(source); gaim_input_remove(phb->inpa); @@ -704,7 +704,7 @@ no_one_calls(gpointer data, gint source, g_free(phb); gaim_debug(GAIM_DEBUG_ERROR, "proxy", - "getsockopt SO_ERROR check: %s\n", strerror(errno)); + "getsockopt SO_ERROR check: %s\n", strerror(error)); return; }