[evolution-data-server] For the sake of portability: sleep -> g_usleep



commit 25b1990812f060199c30506ca453408ad741f1ab
Author: Fridrich Å trba <fridrich strba bluewin ch>
Date:   Fri Jun 25 09:54:45 2010 +0200

    For the sake of portability: sleep -> g_usleep

 camel/providers/imapx/camel-imapx-server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index d5f8ebf..f7c9c91 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -2059,7 +2059,7 @@ imapx_idle_thread (gpointer data)
 
 			if (dwelled < IMAPX_IDLE_DWELL_TIME) {
 				IDLE_UNLOCK(is->idle);
-				sleep(IMAPX_IDLE_DWELL_TIME - dwelled);
+				g_usleep(IMAPX_IDLE_DWELL_TIME - dwelled);
 				continue;
 			}
 			IDLE_UNLOCK(is->idle);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]