aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-sync-stream.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-31 13:24:51 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-08-31 13:24:51 +0800
commite7d6ad6d83acd3aba0dc11d4955339b20ccc8cf3 (patch)
treea3bc6a92164f3659ae93f5ff168ef3eed924926c /mail/em-sync-stream.c
parent9ea10deea3b27d7bde1b82792cae76b99b5610f6 (diff)
downloadgsoc2013-evolution-e7d6ad6d83acd3aba0dc11d4955339b20ccc8cf3.tar.gz
gsoc2013-evolution-e7d6ad6d83acd3aba0dc11d4955339b20ccc8cf3.tar.zst
gsoc2013-evolution-e7d6ad6d83acd3aba0dc11d4955339b20ccc8cf3.zip
** Move away from g_assert to g_return* calls
svn path=/trunk/; revision=34143
Diffstat (limited to 'mail/em-sync-stream.c')
-rw-r--r--mail/em-sync-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-sync-stream.c b/mail/em-sync-stream.c
index 26201ea7e9..ded71b7ba4 100644
--- a/mail/em-sync-stream.c
+++ b/mail/em-sync-stream.c
@@ -228,7 +228,7 @@ sync_op(EMSyncStream *emss, enum _write_msg_t op, const char *data, size_t n)
e_msgport_put(p->data_port, &msg.msg);
reply_msg = e_msgport_wait(p->reply_port);
- g_assert(reply_msg == &msg.msg);
+ g_return_if_fail (reply_msg == &msg.msg);
d(printf("%p: returned sync op %d\n", emss, op));
}