Comment fixes.
authorPekka Riikonen <priikone@silcnet.org>
Sat, 16 Sep 2006 11:01:56 +0000 (11:01 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sat, 16 Sep 2006 11:01:56 +0000 (11:01 +0000)
lib/silchttp/DIRECTORY [new file with mode: 0644]
lib/silchttp/silchttpserver.c
lib/silchttp/silchttpserver.h

diff --git a/lib/silchttp/DIRECTORY b/lib/silchttp/DIRECTORY
new file mode 100644 (file)
index 0000000..6001564
--- /dev/null
@@ -0,0 +1,20 @@
+<!--
+@LIBRARY=SILC HTTP Library
+@FILENAME=silchttplib.html
+@LINK=silchttpserver.html:SILC HTTP Server Interface
+-->
+
+<big><b>SILC HTTP Library</b></big>
+<br />
+<small>Directory: lib/silchttp/</small>
+<br />
+<small>Library: libhttp.a, libhttp.lib</small>
+<br /><br />
+<b>Introduction</b>
+
+<br /><br />
+SILC HTTP Library provides currently interface for very simple HTTP 
+Server.
+
+<br /><br />
+@LINKS@
index 6ff809bfcd0f5d6b42753be6b5e3e2177ab65a9b..d2700ff20749dfb42d1fd2730ff2f7f20d489111 100644 (file)
@@ -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));
index 2cd7e9b221aac04cbe56def7667fcda11e30fb3d..3abea82db49bd2bd1dcb73184f1595cc3f0dd7af 100644 (file)
@@ -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,