diff options
author | Roger Dingledine <arma@torproject.org> | 2005-05-17 17:01:36 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-05-17 17:01:36 +0000 |
commit | b7d6b8a39758b49a276fac9d83a8d925d00ae37d (patch) | |
tree | ab9a59eb728dae21fa3da6bc9a716948c1c88318 /src/or/directory.c | |
parent | 17ba6e76118b11548e623fe22a32f54cba9f6535 (diff) | |
download | tor-b7d6b8a39758b49a276fac9d83a8d925d00ae37d.tar.gz tor-b7d6b8a39758b49a276fac9d83a8d925d00ae37d.zip |
doxygeny goodness from tyranix
svn:r4262
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 2b108e24bc..1ace18ab55 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -439,7 +439,9 @@ directory_send_command(connection_t *conn, const char *platform, } /** Parse an HTTP request string <b>headers</b> of the form + * \verbatim * "\%s [http[s]://]\%s HTTP/1..." + * \endverbatim * If it's well-formed, strdup the second \%s into *<b>url</b>, and * null-terminate it. If the url doesn't start with "/tor/", rewrite it * so it does. Return 0. @@ -485,7 +487,9 @@ parse_http_url(char *headers, char **url) } /** Parse an HTTP response string <b>headers</b> of the form + * \verbatim * "HTTP/1.\%d \%d\%s\r\n...". + * \endverbatim * * If it's well-formed, assign the status code to *<b>code</b> and * return 0. Otherwise, return -1. |