[evolution-data-server] Fix idle dwell time
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Fix idle dwell time
- Date: Mon, 28 Jun 2010 11:09:38 +0000 (UTC)
commit 58ccfbd74eb2ceff2be79a3767e4884ce772469e
Author: David Woodhouse <David Woodhouse intel com>
Date: Fri Jun 25 09:36:46 2010 +0100
Fix idle dwell time
When switching from sleep() to g_usleep() in commit 25b19908, we should
also have converted its argument into µs.
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 a2f83ff..bd8c4a6 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -2060,7 +2060,7 @@ imapx_idle_thread (gpointer data)
if (dwelled < IMAPX_IDLE_DWELL_TIME) {
IDLE_UNLOCK(is->idle);
- g_usleep(IMAPX_IDLE_DWELL_TIME - dwelled);
+ g_usleep((IMAPX_IDLE_DWELL_TIME - dwelled) * G_USEC_PER_SEC);
continue;
}
IDLE_UNLOCK(is->idle);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]