From: Pekka Riikonen Date: Sat, 16 Sep 2006 11:01:56 +0000 (+0000) Subject: Comment fixes. X-Git-Tag: silc.client.1.1.beta1~272 X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=0c05c894d10c375f7c93c21fcf04ef5db1b4421a Comment fixes. --- diff --git a/lib/silchttp/DIRECTORY b/lib/silchttp/DIRECTORY new file mode 100644 index 00000000..60015641 --- /dev/null +++ b/lib/silchttp/DIRECTORY @@ -0,0 +1,20 @@ + + +SILC HTTP Library +
+Directory: lib/silchttp/ +
+Library: libhttp.a, libhttp.lib +

+Introduction + +

+SILC HTTP Library provides currently interface for very simple HTTP +Server. + +

+@LINKS@ diff --git a/lib/silchttp/silchttpserver.c b/lib/silchttp/silchttpserver.c index 6ff809bf..d2700ff2 100644 --- a/lib/silchttp/silchttpserver.c +++ b/lib/silchttp/silchttpserver.c @@ -151,7 +151,7 @@ static SilcBool silc_http_server_parse(SilcHttpServer httpd, if (strstr(tmp, "HTTP/1.1")) conn->keepalive = TRUE; if (strstr(tmp, "HTTP/1.2")) - conn->keepalive = TRUE; + conn->keepalive = TRUE; /* Get HTTP headers */ tmp = memchr(tmp, '\0', data_len - (tmp - data)); diff --git a/lib/silchttp/silchttpserver.h b/lib/silchttp/silchttpserver.h index 2cd7e9b2..3abea82d 100644 --- a/lib/silchttp/silchttpserver.h +++ b/lib/silchttp/silchttpserver.h @@ -193,7 +193,7 @@ SilcBool silc_http_server_send_error(SilcHttpServer httpd, * * Finds a header field indicated by `field' from the current HTTP * request sent by the HTTP client. Returns the field value or NULL - * if suchs header field does not exist. + * if such header field does not exist. * ***/ const char *silc_http_server_get_header(SilcHttpServer httpd,