comparison svr-main.c @ 433:c216212001fc

Fix for -pedantic -ansi compilation, change // to /**/, plus some signedness and trailing-comma-in-array issues
author Matt Johnston <matt@ucc.asn.au>
date Fri, 16 Feb 2007 14:42:08 +0000
parents 1afa503e33f5
children 337c45621e81
comparison
equal deleted inserted replaced
432:517e76bdfb2d 433:c216212001fc
123 char * preauth_addrs[MAX_UNAUTH_CLIENTS]; 123 char * preauth_addrs[MAX_UNAUTH_CLIENTS];
124 124
125 int childsock; 125 int childsock;
126 int childpipe[2]; 126 int childpipe[2];
127 127
128 // Note: commonsetup() must happen before we daemon()ise. Otherwise 128 /* Note: commonsetup() must happen before we daemon()ise. Otherwise
129 // daemon() will chdir("/"), and we won't be able to find local-dir hostkeys. 129 daemon() will chdir("/"), and we won't be able to find local-dir
130 hostkeys. */
130 commonsetup(); 131 commonsetup();
131 132
132 /* fork */ 133 /* fork */
133 if (svr_opts.forkbg) { 134 if (svr_opts.forkbg) {
134 int closefds = 0; 135 int closefds = 0;