diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-20 23:12:33 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-20 23:12:33 +0000 |
commit | 2107792053a21f75054b652dc30d00f3f1d02da0 (patch) | |
tree | 17ef0636f262cf2000849a7f83c08361e5b1a111 /apps/app_rpt.c | |
parent | c804d88e3b5998ea6d8e36cedadd0f1e824f3dcc (diff) |
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/branches/1.4@124450 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_rpt.c')
-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 8465a2627..cc6c680da 100644 --- a/apps/app_rpt.c +++ b/apps/app_rpt.c @@ -10547,7 +10547,7 @@ char *this,*val; close(fd); free(nodep); } - usleep(2000000); + sleep(2); } ast_config_destroy(cfg); pthread_exit(NULL); |