[asterisk-commits] tilghman: trunk r124451 - in /trunk: ./ apps/app_rpt.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 20 18:13:22 CDT 2008


Author: tilghman
Date: Fri Jun 20 18:13:21 2008
New Revision: 124451

URL: http://svn.digium.com/view/asterisk?view=rev&rev=124451
Log:
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)

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_rpt.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_rpt.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_rpt.c?view=diff&rev=124451&r1=124450&r2=124451
==============================================================================
--- trunk/apps/app_rpt.c (original)
+++ trunk/apps/app_rpt.c Fri Jun 20 18:13:21 2008
@@ -13103,7 +13103,7 @@
 			close(fd);
 			ast_free(nodep);
 		}
-		usleep(2000000);
+		sleep(2);
 	}
 	ast_config_destroy(cfg);
 	pthread_exit(NULL);




More information about the asterisk-commits mailing list