secret fix of stupid typo :( 1_9_2
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 22 Mar 2008 17:26:35 +0000 (17:26 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 22 Mar 2008 17:26:35 +0000 (17:26 -0000)
networking/httpd.c

index 3e3be5701dea73a2ea0c46eb589746342757feab..bb3dd777a9384bd0c85b1f9b8eb657f08f1fe4a2 100644 (file)
@@ -1950,7 +1950,7 @@ static void handle_incoming_and_exit(const len_and_sockaddr *fromAddr)
                        if ((STRNCASECMP(iobuf, "Content-length:") == 0)) {
                                /* extra read only for POST */
                                if (prequest != request_GET) {
-                                       tptr = tptr = skip_whitespace(iobuf + sizeof("Content-length:") - 1);
+                                       tptr = skip_whitespace(iobuf + sizeof("Content-length:") - 1);
                                        if (!tptr[0])
                                                send_headers_and_exit(HTTP_BAD_REQUEST);
                                        errno = 0;