Vítězslav Čížek 2013-12-03 14:49:37 +00:00 committed by Git OBS Bridge
parent 2d51255ecc
commit 97844d4081

View File

@ -14,11 +14,11 @@ Signed-off-by: Anthony G. Basile <basile@opensource.dyc.edu>
src/thttpd.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/thttpd.c b/src/thttpd.c
index 019b8c0..f33a7a7 100644
--- a/src/thttpd.c
+++ b/src/thttpd.c
@@ -326,6 +326,7 @@ static void
Index: thttpd-2.25b/thttpd.c
===================================================================
--- thttpd-2.25b.orig/thttpd.c 2013-12-03 15:38:31.719334530 +0100
+++ thttpd-2.25b/thttpd.c 2013-12-03 15:38:31.754334893 +0100
@@ -331,6 +331,7 @@ static void
re_open_logfile( void )
{
FILE* logfp;
@ -26,7 +26,7 @@ index 019b8c0..f33a7a7 100644
if ( no_log || hs == (httpd_server*) 0 )
return;
@@ -335,7 +336,8 @@ re_open_logfile( void )
@@ -340,7 +341,8 @@ re_open_logfile( void )
{
syslog( LOG_NOTICE, "re-opening logfile" );
logfp = fopen( logfile, "a" );
@ -36,7 +36,7 @@ index 019b8c0..f33a7a7 100644
{
syslog( LOG_CRIT, "re-opening %.80s - %m", logfile );
return;
@@ -355,6 +357,7 @@ main( int argc, char** argv )
@@ -360,6 +362,7 @@ main( int argc, char** argv )
gid_t gid = 32767;
char cwd[MAXPATHLEN+1];
FILE* logfp;
@ -44,7 +44,7 @@ index 019b8c0..f33a7a7 100644
int num_ready;
int cnum;
connecttab* c;
@@ -424,7 +427,8 @@ main( int argc, char** argv )
@@ -429,7 +432,8 @@ main( int argc, char** argv )
else
{
logfp = fopen( logfile, "a" );
@ -54,7 +54,3 @@ index 019b8c0..f33a7a7 100644
{
syslog( LOG_CRIT, "%.80s - %m", logfile );
perror( logfile );
--
1.7.9.5