[evolution-data-server/mmeeks-gdbus-import] Ooops, some more sleep -> g_usleep changes
- From: Michael Meeks <michael src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/mmeeks-gdbus-import] Ooops, some more sleep -> g_usleep changes
- Date: Thu, 4 Mar 2010 17:22:07 +0000 (UTC)
commit 63df7eb42219ec9cb0eaa06c0fe85e4852a18afa
Author: Fridrich Strba <fridrich strba bluewin ch>
Date: Thu Mar 4 10:38:39 2010 +0100
Ooops, some more sleep -> g_usleep changes
camel/providers/imapx/camel-imapx-server.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 9cdcf3c..783505e 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -2286,7 +2286,7 @@ exception:
if (ex->id != CAMEL_EXCEPTION_USER_CANCEL) {
c(printf("Re Connection failed: %s\n", ex->desc));
imapx_disconnect (is);
- g_sleep(1);
+ g_usleep(1);
// camelexception_done?
camel_exception_clear (ex);
goto retry;
@@ -3442,7 +3442,7 @@ imapx_parser_thread (gpointer d)
res = PR_Poll(pollfds, 2, PR_MillisecondsToInterval (30 * 1000));
if (res == -1)
- sleep(1) /* ?? */ ;
+ g_usleep(1) /* ?? */ ;
else if (res == 0) {
/* timed out */
} else if ((pollfds[0].out_flags & PR_POLL_READ)) {
@@ -3467,7 +3467,7 @@ imapx_parser_thread (gpointer d)
res = g_poll(fds, 2, 1000*30);
if (res == -1)
- sleep(1) /* ?? */ ;
+ g_usleep(1) /* ?? */ ;
else if (res == 0)
/* timed out */;
else if (fds[0].revents & G_IO_IN) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]