OSDN Git Service

fix typo in last commit
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 21 Jul 2007 15:07:22 +0000 (15:07 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 21 Jul 2007 15:07:22 +0000 (15:07 -0000)
networking/httpd.c

index d058812..7c91bd5 100644 (file)
@@ -1687,7 +1687,7 @@ static void handleIncoming(void)
                                        }
                                } else if (STRNCASECMP(buf, "Cookie:") == 0) {
                                        cookie = strdup(skip_whitespace(buf + sizeof("Cookie:")-1));
-                               } else if (STRNCASECMP(buf, "Content-Type:") == 0)) {
+                               } else if (STRNCASECMP(buf, "Content-Type:") == 0) {
                                        content_type = strdup(skip_whitespace(buf + sizeof("Content-Type:")-1));
                                } else if (STRNCASECMP(buf, "Referer:") == 0) {
                                        referer = strdup(skip_whitespace(buf + sizeof("Referer:")-1));