Browse code

- fixed sockaddru_len <->sizeof for get_out_socket/from - minor help typos

Andrei Pelinescu-Onciul authored on 27/08/2003 16:04:35
Showing 2 changed files
... ...
@@ -106,7 +106,7 @@ struct socket_info* get_out_socket(union sockaddr_union* to, int proto)
106 106
 				strerror(errno));
107 107
 		goto error;
108 108
 	}
109
-	len=sockaddru_len(from);
109
+	len=sizeof(from);
110 110
 	if (getsockname(temp_sock, &from.s, &len)==-1) {
111 111
 		LOG(L_ERR, "ERROR: get_out_socket: getsockname failed: %s\n",
112 112
 				strerror(errno));
... ...
@@ -211,7 +211,7 @@ Options:\n\
211 211
     -h           This help message\n\
212 212
     -b nr        Maximum receive buffer size which will not be exceeded by\n\
213 213
                   auto-probing procedure even if  OS allows\n\
214
-    -m nr        Size of shared memory allocated in Megabytes\n\
214
+    -m nr        Size of shared memory allocated (in Megabytes)\n\
215 215
     -w dir       Change the working directory to \"dir\" (default \"/\")\n\
216 216
     -t dir       Chroot to \"dir\"\n\
217 217
     -u uid       Change uid \n\
... ...
@@ -257,7 +257,7 @@ void receive_stdin_loop()
257 257
 }
258 258
 */
259 259
 
260
-/* global vars */
260
+/* global vars) */
261 261
 
262 262
 int own_pgid = 0; /* whether or not we have our own pgid (and it's ok
263 263
 					 to use kill(0, sig) */