1
1

Check return from tmr_create in timer test.

Этот коммит содержится в:
Jef Poskanzer 2013-12-12 12:04:11 -08:00
родитель 0193ee1881
Коммит fdcbd49578

Просмотреть файл

@ -32,6 +32,11 @@ main(int argc, char **argv)
flag = 0;
tp = tmr_create((struct timeval*) 0, timer_proc, JunkClientData, 3000000, 0);
if (!tp)
{
printf("failed to create timer\n");
exit(-1);
}
sleep(2);