comparison common-session.c @ 927:122fb3532038

Fix typo
author Matt Johnston <matt@ucc.asn.au>
date Thu, 13 Mar 2014 23:08:47 +0800
parents b8208506322e
children 7cd89d4e0335
comparison
equal deleted inserted replaced
926:b8208506322e 927:122fb3532038
432 as to avoid waking when unneccessary */ 432 as to avoid waking when unneccessary */
433 long ret = LONG_MAX; 433 long ret = LONG_MAX;
434 if (KEX_REKEY_TIMEOUT > 0) 434 if (KEX_REKEY_TIMEOUT > 0)
435 ret = MIN(KEX_REKEY_TIMEOUT, ret); 435 ret = MIN(KEX_REKEY_TIMEOUT, ret);
436 /* AUTH_TIMEOUT is only relevant before authdone */ 436 /* AUTH_TIMEOUT is only relevant before authdone */
437 if (sess.authstate.authdone != 1 && AUTH_TIMEOUT > 0) 437 if (ses.authstate.authdone != 1 && AUTH_TIMEOUT > 0)
438 ret = MIN(AUTH_TIMEOUT, ret); 438 ret = MIN(AUTH_TIMEOUT, ret);
439 if (opts.keepalive_secs > 0) 439 if (opts.keepalive_secs > 0)
440 ret = MIN(opts.keepalive_secs, ret); 440 ret = MIN(opts.keepalive_secs, ret);
441 if (opts.idle_timeout_secs > 0) 441 if (opts.idle_timeout_secs > 0)
442 ret = MIN(opts.idle_timeout_secs, ret); 442 ret = MIN(opts.idle_timeout_secs, ret);