mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
update windows build.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@161 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
@@ -9,7 +9,7 @@ static void *test_call(zap_thread_t *me, void *obj)
|
||||
zap_size_t len;
|
||||
|
||||
|
||||
sleep(10);
|
||||
zap_sleep(10 * 1000);
|
||||
|
||||
zap_log(ZAP_LOG_DEBUG, "answer call and start echo test\n");
|
||||
|
||||
@@ -38,6 +38,7 @@ static void *test_call(zap_thread_t *me, void *obj)
|
||||
|
||||
zap_log(ZAP_LOG_DEBUG, "call over\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static ZIO_SIGNAL_CB_FUNCTION(on_signal)
|
||||
@@ -78,7 +79,7 @@ int main(int argc, char *argv[])
|
||||
zap_analog_start(span);
|
||||
|
||||
while(zap_test_flag(span->analog_data, ZAP_ANALOG_RUNNING)) {
|
||||
sleep(1);
|
||||
zap_sleep(1 * 1000);
|
||||
}
|
||||
|
||||
zap_global_destroy();
|
||||
|
Reference in New Issue
Block a user