From: Jeff Lenk Date: Thu, 5 Sep 2013 15:24:33 +0000 (-0500) Subject: mod_gsmopen fix complier errors windows X-Git-Tag: v1.5.6~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36b840543d975482c8bf03c8d787d6a19e4e9ad9;p=thirdparty%2Ffreeswitch.git mod_gsmopen fix complier errors windows --- diff --git a/src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp b/src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp index 30e818ed4a..a52b8a1ac4 100644 --- a/src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp +++ b/src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp @@ -1664,7 +1664,7 @@ int gsmopen_serial_read_AT(private_t *tech_pvt, int look_for_ack, int timeout_us } catch(...) { ERRORA("GsmException\n", GSMOPEN_P_LOG); - sleep(5); + gsmopen_sleep(5000); return -1; } @@ -1720,7 +1720,7 @@ int gsmopen_serial_read_AT(private_t *tech_pvt, int look_for_ack, int timeout_us } catch(...) { ERRORA("GsmException\n", GSMOPEN_P_LOG); - sleep(5); + gsmopen_sleep(5000); return -1; }