comparison src/os/win32/ngx_win32_init.c @ 4555:555ca31dea18

Win32: added missing call to srand(). Found by Veracode.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 22 Mar 2012 10:45:08 +0000
parents d620f497c50f
children 3d2d3e1cf427
comparison
equal deleted inserted replaced
4554:212a0251951b 4555:555ca31dea18
226 } 226 }
227 227
228 ngx_sprintf((u_char *) ngx_unique, "%P%Z", ngx_pid); 228 ngx_sprintf((u_char *) ngx_unique, "%P%Z", ngx_pid);
229 } 229 }
230 230
231 srand((unsigned) ngx_time());
232
231 return NGX_OK; 233 return NGX_OK;
232 } 234 }
233 235
234 236
235 void 237 void