move extern decl out of function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14175 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -2011,6 +2011,8 @@ Scheduler(int block) /* should we block in the select ? */
|
|||||||
return returnValue;
|
return returnValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern int auth_has_failed; /* XXX should be somewhere else */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Select from tty and network...
|
* Select from tty and network...
|
||||||
*/
|
*/
|
||||||
@@ -2064,7 +2066,6 @@ my_telnet(char *user)
|
|||||||
* forever.
|
* forever.
|
||||||
*/
|
*/
|
||||||
if (telnetport && wantencryption) {
|
if (telnetport && wantencryption) {
|
||||||
extern int auth_has_failed;
|
|
||||||
time_t timeout = time(0) + 60;
|
time_t timeout = time(0) + 60;
|
||||||
|
|
||||||
send_do(TELOPT_ENCRYPT, 1);
|
send_do(TELOPT_ENCRYPT, 1);
|
||||||
|
Reference in New Issue
Block a user