summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-06-12 04:33:26 +0000
committerRoger Dingledine <arma@torproject.org>2005-06-12 04:33:26 +0000
commit2111c0e263a6f2caf339afb1d4b7648e6caf424e (patch)
tree90d8bce4ee0f422e57a2699291cc7ed0b7669fb1 /src
parenta05387bcf4817cba627477cc2ac2195ce45226d1 (diff)
downloadtor-2111c0e263a6f2caf339afb1d4b7648e6caf424e.tar.gz
tor-2111c0e263a6f2caf339afb1d4b7648e6caf424e.zip
a bit more cleanup
svn:r4417
Diffstat (limited to 'src')
-rw-r--r--src/common/compat.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index ce023009c0..85db2b6ad4 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -204,8 +204,9 @@ set_uint32(char *cp, uint32_t v)
#endif
/**
- * Rename the file 'from' to the file 'to'. On unix, this is the same as
- * rename(2). On windows, this removes 'to' first if it already exists.
+ * Rename the file <b>from</b> to the file <b>to</b>. On unix, this is
+ * the same as rename(2). On windows, this removes <b>to</b> first if
+ * it already exists.
* Returns 0 on success. Returns -1 and sets errno on failure.
*/
int
@@ -607,12 +608,12 @@ tor_lookup_hostname(const char *name, uint32_t *addr)
}
}
-/* Hold the result of our call to <b>uname</b>. */
+/** Hold the result of our call to <b>uname</b>. */
static char uname_result[256];
-/* True iff uname_result is set. */
+/** True iff uname_result is set. */
static int uname_result_is_set = 0;
-/* Return a pointer to a description of our platform.
+/** Return a pointer to a description of our platform.
*/
const char *
get_uname(void)
@@ -1052,8 +1053,8 @@ int
network_init(void)
{
#ifdef MS_WINDOWS
- /* This silly exercise is necessary before windows will allow gethostbyname to work.
- */
+ /* This silly exercise is necessary before windows will allow
+ * gethostbyname to work. */
WSADATA WSAData;
int r;
r = WSAStartup(0x101,&WSAData);