projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Relocate the connection-accepted message from listen_loop() to serve()
[privoxy.git]
/
cgisimple.c
diff --git
a/cgisimple.c
b/cgisimple.c
index
0e9ce70
..
95cb7ad
100644
(file)
--- a/
cgisimple.c
+++ b/
cgisimple.c
@@
-1,4
+1,4
@@
-const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.11
0 2011/06/23 14:01:39
fabiankeil Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.11
4 2012/03/09 16:24:36
fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
@@
-6,9
+6,6
@@
const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.110 2011/06/23 14:01:39 fabia
* Purpose : Simple CGIs to get information about Privoxy's
* status.
*
* Purpose : Simple CGIs to get information about Privoxy's
* status.
*
- * Functions declared include:
- *
- *
* Copyright : Written by and Copyright (C) 2001-2011 the
* Privoxy team. http://www.privoxy.org/
*
* Copyright : Written by and Copyright (C) 2001-2011 the
* Privoxy team. http://www.privoxy.org/
*
@@
-1144,7
+1141,7
@@
jb_err cgi_show_url_info(struct client_state *csp,
{
/*
* Empty URL (just prefix).
{
/*
* Empty URL (just prefix).
- * Make it totally empty so it's caught by the next if()
+ * Make it totally empty so it's caught by the next if
()
*/
url_param[0] = '\0';
}
*/
url_param[0] = '\0';
}
@@
-1155,7
+1152,7
@@
jb_err cgi_show_url_info(struct client_state *csp,
{
/*
* Empty URL (just prefix).
{
/*
* Empty URL (just prefix).
- * Make it totally empty so it's caught by the next if()
+ * Make it totally empty so it's caught by the next if
()
*/
url_param[0] = '\0';
}
*/
url_param[0] = '\0';
}
@@
-1858,8
+1855,8
@@
static jb_err cgi_show_file(struct client_state *csp,
return JB_ERR_MEMORY;
}
return JB_ERR_MEMORY;
}
- if (
map(exports, "file-description", 1, file_description, 1)
- || map(exports, "filepath", 1, html_encode(filename), 0)
)
+ if (map(exports, "file-description", 1, file_description, 1)
+ || map(exports, "filepath", 1, html_encode(filename), 0))
{
free_map(exports);
return JB_ERR_MEMORY;
{
free_map(exports);
return JB_ERR_MEMORY;