[maemo-commits] [maemo-commits] r11877 - projects/connectivity/osso-gwobex/trunk/src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Sun May 27 03:52:28 EEST 2007
Author: jh
Date: 2007-05-27 03:52:26 +0300 (Sun, 27 May 2007)
New Revision: 11877

Modified:
   projects/connectivity/osso-gwobex/trunk/src/obex-priv.c
Log:
Yet another fix for the write call

Modified: projects/connectivity/osso-gwobex/trunk/src/obex-priv.c
===================================================================
--- projects/connectivity/osso-gwobex/trunk/src/obex-priv.c	2007-05-27 00:47:37 UTC (rev 11876)
+++ projects/connectivity/osso-gwobex/trunk/src/obex-priv.c	2007-05-27 00:52:26 UTC (rev 11877)
@@ -386,7 +386,7 @@
             while (written < actual) {
                 int ret;
 
-                ret = write(xfer->stream_fd, buf, actual - written);
+                ret = write(xfer->stream_fd, buf + written, actual - written);
                 if (ret < 0 && errno == EINTR)
                     continue;
 


More information about the maemo-commits mailing list