From 36b840543d975482c8bf03c8d787d6a19e4e9ad9 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Thu, 5 Sep 2013 10:24:33 -0500 Subject: [PATCH] mod_gsmopen fix complier errors windows --- src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }