diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-20 23:13:21 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-20 23:13:21 +0000 |
commit | 4c583c01273c0cdf881503156af6e27683e1f84c (patch) | |
tree | ec294de775216100b32ef965e688d6efccd4928b /apps | |
parent | b45e8e7d4332cf6190f2a24e2a3f487740974849 (diff) |
Merged revisions 124450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r124450 | tilghman | 2008-06-20 18:12:33 -0500 (Fri, 20 Jun 2008) | 6 lines
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: http://svn.digium.com/svn/asterisk/trunk@124451 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_rpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_rpt.c b/apps/app_rpt.c index 0a8ee0053..146ee72d4 100644 --- a/apps/app_rpt.c +++ b/apps/app_rpt.c @@ -13103,7 +13103,7 @@ char *this,*val; close(fd); ast_free(nodep); } - usleep(2000000); + sleep(2); } ast_config_destroy(cfg); pthread_exit(NULL); |