[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] a bit more cleanup



Update of /home2/or/cvsroot/tor/src/common
In directory moria:/home/arma/work/onion/cvs/tor/src/common

Modified Files:
	compat.c 
Log Message:
a bit more cleanup


Index: compat.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/compat.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- compat.c	11 Jun 2005 18:52:11 -0000	1.51
+++ compat.c	12 Jun 2005 04:33:26 -0000	1.52
@@ -204,8 +204,9 @@
 #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 @@
   }
 }
 
-/* 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 @@
 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);