mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
usleep with a value over 1,000,000 is nonportable. Changing to use sleep()
instead. (closes issue #12814) Reported by: pputman Patches: app_rtp_sleep.patch uploaded by pputman (license 81) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@124450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -10547,7 +10547,7 @@ char *this,*val;
|
||||
close(fd);
|
||||
free(nodep);
|
||||
}
|
||||
usleep(2000000);
|
||||
sleep(2);
|
||||
}
|
||||
ast_config_destroy(cfg);
|
||||
pthread_exit(NULL);
|
||||
|
||||
Reference in New Issue
Block a user