projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Accept a socket-timeout value of 0 seconds.
[privoxy.git]
/
jcc.c
diff --git
a/jcc.c
b/jcc.c
index
6661b34
..
81a6938
100644
(file)
--- a/
jcc.c
+++ b/
jcc.c
@@
-1,4
+1,4
@@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.37
5 2011/12/10 17:26:11
fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.37
7 2012/03/09 16:24:36
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@
-338,7
+338,7
@@
static void sig_handler(int the_signal)
case SIGINT:
log_error(LOG_LEVEL_INFO, "exiting by signal %d .. bye", the_signal);
#if defined(unix)
case SIGINT:
log_error(LOG_LEVEL_INFO, "exiting by signal %d .. bye", the_signal);
#if defined(unix)
- if(pidfile)
+ if
(pidfile)
{
unlink(pidfile);
}
{
unlink(pidfile);
}
@@
-1861,8
+1861,9
@@
static void chat(struct client_state *csp)
*/
watch_client_socket = 0;
log_error(LOG_LEVEL_CONNECT,
*/
watch_client_socket = 0;
log_error(LOG_LEVEL_CONNECT,
- "Stopping to watch the client socket. "
- "There's already another request waiting.");
+ "Stopping to watch the client socket %d. "
+ "There's already another request waiting.",
+ csp->cfd);
continue;
}
/*
continue;
}
/*
@@
-2948,7
+2949,7
@@
int main(int argc, char **argv)
usage(argv[0]);
}
usage(argv[0]);
}
- else if(strcmp(argv[argc_pos], "--version") == 0)
+ else if
(strcmp(argv[argc_pos], "--version") == 0)
{
printf("Privoxy version " VERSION " (" HOME_PAGE_URL ")\n");
exit(0);
{
printf("Privoxy version " VERSION " (" HOME_PAGE_URL ")\n");
exit(0);
@@
-3541,7
+3542,7
@@
static void listen_loop(void)
log_error(LOG_LEVEL_CONNECT, "accept failed: %E");
#ifdef AMIGA
log_error(LOG_LEVEL_CONNECT, "accept failed: %E");
#ifdef AMIGA
- if(!childs)
+ if
(!childs)
{
exit(1);
}
{
exit(1);
}
@@
-3700,7
+3701,7
@@
static void listen_loop(void)
NP_StackSize, 200*1024,
TAG_DONE);
#endif
NP_StackSize, 200*1024,
TAG_DONE);
#endif
- if(0 != child_id)
+ if
(0 != child_id)
{
childs++;
((struct Task *)child_id)->tc_UserData = csp;
{
childs++;
((struct Task *)child_id)->tc_UserData = csp;