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; }
		
		sleep (30*$ntries*$ntries) if ($ntries > 0);
		$ntries++;
	}	
ofcourse, this is only a part of some program.
thanks,
Shahar.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to