diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-06-25 09:54:45 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-06-28 13:44:47 +0100 |
commit | 69bf749ada54e544361a88f1a6dc9b41bc0b5e85 (patch) | |
tree | b58facb35dc999c4ba6846dca87e599e0e5d4c7a | |
parent | 5f47ec3fae03fa0f96e14f8445870ee8f919a37a (diff) | |
download | evolution-data-server-69bf749ada54e544361a88f1a6dc9b41bc0b5e85.tar.gz |
For the sake of portability: sleep -> g_usleep
(cherry picked from commit 25b1990812f060199c30506ca453408ad741f1ab)
-rw-r--r-- | 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 30a661ffb..28f87de8e 100644 --- a/camel/providers/imapx/camel-imapx-server.c +++ b/camel/providers/imapx/camel-imapx-server.c @@ -2052,7 +2052,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); |