comparison src/proxy.c @ 9863:0e3a84f18467

[gaim-migrate @ 10742] Whitespace and comment changes, mostly. And changed a few other things that aren't ansi c... committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 25 Aug 2004 03:09:08 +0000
parents 465d19aad04b
children 9fdbfe832fac
comparison
equal deleted inserted replaced
9862:ce03c2646a40 9863:0e3a84f18467
706 * be overly optimistic sometimes. select is just a hint that you might be 706 * be overly optimistic sometimes. select is just a hint that you might be
707 * able to do something.) 707 * able to do something.)
708 */ 708 */
709 ret = getsockopt(source, SOL_SOCKET, SO_ERROR, &error, &len); 709 ret = getsockopt(source, SOL_SOCKET, SO_ERROR, &error, &len);
710 if (ret == 0 && error == EINPROGRESS) 710 if (ret == 0 && error == EINPROGRESS)
711 return; // we'll be called again later 711 return; /* we'll be called again later */
712 if (ret < 0 || error != 0) { 712 if (ret < 0 || error != 0) {
713 if(ret!=0) error = errno; 713 if(ret!=0) error = errno;
714 close(source); 714 close(source);
715 gaim_input_remove(phb->inpa); 715 gaim_input_remove(phb->inpa);
716 716