comparison svr-runopts.c @ 1210:64a50eac1030

Moved usingsyslog from svr_runopts to runopts.
author Konstantin Tokarev <ktokarev@smartlabs.tv>
date Tue, 01 Dec 2015 21:52:38 +0300
parents 86a9e0204c03
children a23386821e9f b28624698130
comparison
equal deleted inserted replaced
1209:ab7d9c12caa7 1210:64a50eac1030
156 */ 156 */
157 #ifdef DO_MOTD 157 #ifdef DO_MOTD
158 svr_opts.domotd = 1; 158 svr_opts.domotd = 1;
159 #endif 159 #endif
160 #ifndef DISABLE_SYSLOG 160 #ifndef DISABLE_SYSLOG
161 svr_opts.usingsyslog = 1; 161 opts.usingsyslog = 1;
162 #endif 162 #endif
163 opts.recv_window = DEFAULT_RECV_WINDOW; 163 opts.recv_window = DEFAULT_RECV_WINDOW;
164 opts.keepalive_secs = DEFAULT_KEEPALIVE; 164 opts.keepalive_secs = DEFAULT_KEEPALIVE;
165 opts.idle_timeout_secs = DEFAULT_IDLE_TIMEOUT; 165 opts.idle_timeout_secs = DEFAULT_IDLE_TIMEOUT;
166 166
187 case 'F': 187 case 'F':
188 svr_opts.forkbg = 0; 188 svr_opts.forkbg = 0;
189 break; 189 break;
190 #ifndef DISABLE_SYSLOG 190 #ifndef DISABLE_SYSLOG
191 case 'E': 191 case 'E':
192 svr_opts.usingsyslog = 0; 192 opts.usingsyslog = 0;
193 break; 193 break;
194 #endif 194 #endif
195 #ifdef ENABLE_SVR_LOCALTCPFWD 195 #ifdef ENABLE_SVR_LOCALTCPFWD
196 case 'j': 196 case 'j':
197 svr_opts.nolocaltcp = 1; 197 svr_opts.nolocaltcp = 1;