Changeset 19 for trunk/src/sh_forward.c
- Timestamp:
- Feb 12, 2006, 10:49:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_forward.c
r12 r19 4995 4995 } 4996 4996 4997 if (sig_suspend_switch == 1) /* SIGUSR2 */4997 if (sig_suspend_switch > 0) /* SIGUSR2 */ 4998 4998 { 4999 4999 TPT((0, FIL__, __LINE__, _("msg=<Suspend switch.>\n"))); … … 5005 5005 sh_global_suspend_flag = 1; 5006 5006 } 5007 sig_suspend_switch = 0;5007 --sig_suspend_switch; 5008 5008 --sig_raised; --sig_urgent; 5009 5009 } … … 5171 5171 tcurrent = (unsigned long) time (NULL); 5172 5172 5173 /* check for time limit exceeded 5174 */ 5175 if ((tcurrent - tchkold) > (unsigned int) 3 ) 5176 { 5177 tchkold = tcurrent; 5178 client_time_check(/* all_clients */); 5179 } 5180 5181 /* seed / re-seed the PRNG if required 5182 */ 5183 (void) taus_seed(); 5184 5173 5185 /* select() timeout handling. 5174 5186 */ … … 5246 5258 } 5247 5259 } 5248 5249 /* check for time limit exceeded 5250 */ 5251 if ((tcurrent - tchkold) > (unsigned int) 3 ) 5252 { 5253 tchkold = tcurrent; 5254 client_time_check(/* all_clients */); 5255 } 5256 tcurrent = tcurrent; 5257 5258 /* seed / re-seed the PRNG if required 5259 */ 5260 (void) taus_seed(); 5261 5260 /* continue */ 5262 5261 } 5263 5262 /* notreached */
Note:
See TracChangeset
for help on using the changeset viewer.