Re: an infinite loop

2003-02-05 Thread Janek Schleicher
On Tue, 04 Feb 2003 22:33:13 +0200, Shahar Evron wrote: > this peace of code seems to generate an infinite loop, and i have no > clue why. this may very well be for a very silly reason, but i'm clueless... > >> while (1) { >> if ($ntries >= 4) {

an infinite loop

2003-02-05 Thread Shahar Evron
this peace of code seems to generate an infinite loop, and i have no clue why. this may very well be for a very silly reason, but i'm clueless... while (1) { if ($ntries >= 4) { print ERRLOG "Error : failed $ntries login attempts - giving up.\n"; return 2; }