projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bb34ecc
)
Mark the errno overloading in connect_to() as questionable, too
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 27 Mar 2011 14:03:25 +0000
(14:03 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 27 Mar 2011 14:03:25 +0000
(14:03 +0000)
jbsockets.c
patch
|
blob
|
history
diff --git
a/jbsockets.c
b/jbsockets.c
index
c4584e2
..
66078bd
100644
(file)
--- a/
jbsockets.c
+++ b/
jbsockets.c
@@
-1,4
+1,4
@@
-const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.9
3 2011/03/27 13:58:3
3 fabiankeil Exp $";
+const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.9
4 2011/03/27 14:02:5
3 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $
@@
-147,6
+147,11
@@
jb_socket connect_to(const char *host, int portnum, struct client_state *csp)
do
{
do
{
+ /*
+ * XXX: The whole errno overloading is ridiculous and should
+ * be replaced with something sane and thread safe
+ */
+ /* errno = 0;*/
#ifdef HAVE_RFC2553
fd = rfc2553_connect_to(host, portnum, csp);
#else
#ifdef HAVE_RFC2553
fd = rfc2553_connect_to(host, portnum, csp);
#else