]> granicus.if.org Git - libevent/commitdiff
minor documentation typos
authorPatrick Pelletier <code@funwithsoftware.org>
Wed, 28 Nov 2012 08:20:13 +0000 (00:20 -0800)
committerPatrick Pelletier <code@funwithsoftware.org>
Sat, 8 Dec 2012 10:32:17 +0000 (02:32 -0800)
include/event2/http.h

index 28d0f56fd72e614cdc802dfe3cf2ec93c922ac45..04338a7bbef2a188f9b2bb32e80bf59d3a294ab4 100644 (file)
@@ -626,7 +626,7 @@ const char *evhttp_request_get_host(struct evhttp_request *req);
    @param headers the evkeyvalq object in which to find the header
    @param key the name of the header to find
    @returns a pointer to the value for the header or NULL if the header
-     count not be found.
+     could not be found.
    @see evhttp_add_header(), evhttp_remove_header()
 */
 const char *evhttp_find_header(const struct evkeyvalq *headers,
@@ -718,7 +718,7 @@ char *evhttp_decode_uri(const char *uri);
   The returned string must be freed by the caller.
 
   @param uri a URI-encode encoded URI
-  @param decode_plus determines whether we convert '+' to sapce.
+  @param decode_plus determines whether we convert '+' to space.
   @param size_out if size_out is not NULL, *size_out is set to the size of the
      returned string
   @return a newly allocated unencoded URI or NULL on failure