comparison svr-auth.c @ 1455:4afde04f0607 fuzz

merge up to date
author Matt Johnston <matt@ucc.asn.au>
date Tue, 23 Jan 2018 22:46:07 +0800
parents ea150e3e95a6 517c67cbcd31
children 5916af64acd4
comparison
equal deleted inserted replaced
1450:5b25d86b865b 1455:4afde04f0607
366 usleep(delay); 366 usleep(delay);
367 #endif 367 #endif
368 ses.authstate.failcount++; 368 ses.authstate.failcount++;
369 } 369 }
370 370
371 if (ses.authstate.failcount >= MAX_AUTH_TRIES) { 371 if (ses.authstate.failcount >= svr_opts.maxauthtries) {
372 char * userstr; 372 char * userstr;
373 /* XXX - send disconnect ? */ 373 /* XXX - send disconnect ? */
374 TRACE(("Max auth tries reached, exiting")) 374 TRACE(("Max auth tries reached, exiting"))
375 375
376 if (ses.authstate.pw_name == NULL) { 376 if (ses.authstate.pw_name == NULL) {