Commit c2ce2aa4 authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning
parent 90c9fd55
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -183,6 +183,7 @@ static const char *doc404 = "HTTP/1.1 404 Not Found\r\n"
    "The requested URL was not found on this server.\n"
    "<P><HR><ADDRESS>" SWSVERSION "</ADDRESS>\n" "</BODY></HTML>\n";

#ifndef WIN32
#  if defined(SIGPIPE) && defined(HAVE_SIGNAL)
static volatile int sigpipe;  /* Why? It's not used */
static void sigpipe_handler(int sig)
@@ -191,6 +192,7 @@ static void sigpipe_handler(int sig)
  sigpipe = 1;
}
#  endif
#endif

static int ProcessRequest(struct httprequest *req)
{