[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r26392 - libmicrohttpd/doc/examples
From: |
gnunet |
Subject: |
[GNUnet-SVN] r26392 - libmicrohttpd/doc/examples |
Date: |
Tue, 12 Mar 2013 15:23:57 +0100 |
Author: grothoff
Date: 2013-03-12 15:23:57 +0100 (Tue, 12 Mar 2013)
New Revision: 26392
Modified:
libmicrohttpd/doc/examples/largepost.c
Log:
-fix double-close
Modified: libmicrohttpd/doc/examples/largepost.c
===================================================================
--- libmicrohttpd/doc/examples/largepost.c 2013-03-12 13:49:11 UTC (rev
26391)
+++ libmicrohttpd/doc/examples/largepost.c 2013-03-12 14:23:57 UTC (rev
26392)
@@ -206,7 +206,10 @@
else
{
if (NULL != con_info->fp)
+ {
fclose (con_info->fp);
+ con_info->fp = NULL;
+ }
/* Now it is safe to open and inspect the file before calling
send_page with a response */
return send_page (connection, con_info->answerstring,
con_info->answercode);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r26392 - libmicrohttpd/doc/examples,
gnunet <=