Browse Source

Merge pull request #308 from kainjow/master

Fix typos in header
bel2125 9 years ago
parent
commit
e9cc8fc85c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      include/civetweb.h

+ 3 - 3
include/civetweb.h

@@ -174,7 +174,7 @@ struct mg_callbacks {
 	   Return value:
 	   Return value:
 	     NULL: do not serve file from memory, proceed with normal file open.
 	     NULL: do not serve file from memory, proceed with normal file open.
 	     non-NULL: pointer to the file contents in memory. data_len must be
 	     non-NULL: pointer to the file contents in memory. data_len must be
-	       initilized with the size of the memory block. */
+	       initialized with the size of the memory block. */
 	const char *(*open_file)(const struct mg_connection *,
 	const char *(*open_file)(const struct mg_connection *,
 	                         const char *path,
 	                         const char *path,
 	                         size_t *data_len);
 	                         size_t *data_len);
@@ -615,7 +615,7 @@ CIVETWEB_API void mg_send_mime_file(struct mg_connection *conn,
 /* Store body data into a file. */
 /* Store body data into a file. */
 CIVETWEB_API long long mg_store_body(struct mg_connection *conn,
 CIVETWEB_API long long mg_store_body(struct mg_connection *conn,
                                      const char *path);
                                      const char *path);
-/* Read entire request body and stor it in a file "path".
+/* Read entire request body and store it in a file "path".
    Return:
    Return:
      < 0   Error
      < 0   Error
      >= 0  Number of bytes stored in file "path".
      >= 0  Number of bytes stored in file "path".
@@ -907,7 +907,7 @@ CIVETWEB_API void mg_cry(const struct mg_connection *conn,
                          ...) PRINTF_ARGS(2, 3);
                          ...) PRINTF_ARGS(2, 3);
 
 
 
 
-/* utility methods to compare two buffers, case incensitive. */
+/* utility methods to compare two buffers, case insensitive. */
 CIVETWEB_API int mg_strcasecmp(const char *s1, const char *s2);
 CIVETWEB_API int mg_strcasecmp(const char *s1, const char *s2);
 CIVETWEB_API int mg_strncasecmp(const char *s1, const char *s2, size_t len);
 CIVETWEB_API int mg_strncasecmp(const char *s1, const char *s2, size_t len);