]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_gsmopen fix complier errors windows
authorJeff Lenk <jeff@jefflenk.com>
Thu, 5 Sep 2013 15:24:33 +0000 (10:24 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Thu, 5 Sep 2013 15:24:33 +0000 (10:24 -0500)
src/mod/endpoints/mod_gsmopen/gsmopen_protocol.cpp

index 30e818ed4a07f05035dda0213136873e9320b949..a52b8a1ac44de0ee2943121fcb83ecfb637e8508 100644 (file)
@@ -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;
                                                }