From: <jpg...@us...> - 2007-10-03 19:27:01
|
Revision: 1175 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1175&view=rev Author: jpgrayson Date: 2007-10-03 12:26:45 -0700 (Wed, 03 Oct 2007) Log Message: ----------- Fix change that breaks random call numbers. This accidentally went in in 1156. Modified Paths: -------------- trunk/lib/libiax2/src/iax.c Modified: trunk/lib/libiax2/src/iax.c =================================================================== --- trunk/lib/libiax2/src/iax.c 2007-10-03 18:57:53 UTC (rev 1174) +++ trunk/lib/libiax2/src/iax.c 2007-10-03 19:26:45 UTC (rev 1175) @@ -992,9 +992,8 @@ DEBU(G "Started on port %d\n", portno); } - //srand((unsigned int)time(0)); - //callnums = rand() % 32767 + 1; - callnums = 1; + srand((unsigned int)time(0)); + callnums = rand() % 32767 + 1; transfer_id = rand() % 32767 + 1; return portno; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |