[evolution-ews] Note to self: compile test, *then* push



commit 9ec43e612a98a50abf682d6a46b299c7b077225a
Author: David Woodhouse <David Woodhouse intel com>
Date:   Fri May 6 15:16:05 2011 +0100

    Note to self: compile test, *then* push

 src/server/e-soap-message.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/server/e-soap-message.c b/src/server/e-soap-message.c
index 7be24b6..da3896b 100644
--- a/src/server/e-soap-message.c
+++ b/src/server/e-soap-message.c
@@ -215,7 +215,7 @@ static void soap_sax_characters (void *_ctxt, const xmlChar *ch, int len)
 	if (priv->steal_fd == -1)
 		xmlSAX2Characters (ctxt, ch, len);
 	else if (!priv->steal_base64) {
-		if (write (priv->steal_fd, (const gchar*)ch, len, 0) != len) {
+		if (write (priv->steal_fd, (const gchar*)ch, len) != len) {
 		write_err:
 			/* Handle error better */
 			g_warning ("Failed to write streaming data to file");
@@ -227,7 +227,7 @@ static void soap_sax_characters (void *_ctxt, const xmlChar *ch, int len)
 		blen = g_base64_decode_step ((const gchar *)ch, len,
 					     bdata, &priv->steal_b64_state,
 					     &priv->steal_b64_save);
-		if (write (priv->steal_fd, (const gchar*)bdata, blen, 0) != blen) {
+		if (write (priv->steal_fd, (const gchar*)bdata, blen) != blen) {
 			g_free (bdata);
 			goto write_err;
 		}



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