projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
94fd77e
)
In write_socket(), also log the socket we're writing to.
author
Fabian Keil
<fk@fabiankeil.de>
Mon, 26 Jul 2010 11:26:26 +0000
(11:26 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Mon, 26 Jul 2010 11:26:26 +0000
(11:26 +0000)
jbsockets.c
patch
|
blob
|
history
diff --git
a/jbsockets.c
b/jbsockets.c
index
ef5e067
..
d060a06
100644
(file)
--- a/
jbsockets.c
+++ b/
jbsockets.c
@@
-1,4
+1,4
@@
-const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.7
5 2010/06/13 12:29:05
fabiankeil Exp $";
+const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.7
6 2010/06/13 12:30:10
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jbsockets.c,v $
@@
-8,7
+8,7
@@
const char jbsockets_rcs[] = "$Id: jbsockets.c,v 1.75 2010/06/13 12:29:05 fabian
* OS-independent. Contains #ifdefs to make this work
* on many platforms.
*
* OS-independent. Contains #ifdefs to make this work
* on many platforms.
*
- * Copyright : Written by and Copyright (C) 2001-20
09
the
+ * Copyright : Written by and Copyright (C) 2001-20
10
the
* Privoxy team. http://www.privoxy.org/
*
* Based on the Internet Junkbuster originally written
* Privoxy team. http://www.privoxy.org/
*
* Based on the Internet Junkbuster originally written
@@
-498,7
+498,7
@@
int write_socket(jb_socket fd, const char *buf, size_t len)
return 1;
}
return 1;
}
- log_error(LOG_LEVEL_LOG, "
%N"
, len, buf);
+ log_error(LOG_LEVEL_LOG, "
to socket %d: %N", fd
, len, buf);
#if defined(_WIN32)
return (send(fd, buf, (int)len, 0) != (int)len);
#if defined(_WIN32)
return (send(fd, buf, (int)len, 0) != (int)len);