File libopensync-plugin-irmc-openobex-cvs.diff of Package libopensync-plugin-irmc

--- src/irmc_obex.c
+++ src/irmc_obex.c
@@ -71,11 +71,7 @@
     break;
   case OBEX_EV_REQDONE:
     userdata->busy = 0;
-    if(mode == OBEX_CLIENT) {
-      client_done(handle, object, obex_cmd, obex_rsp);
-    } else  {
-      server_done(handle, object, obex_cmd, obex_rsp);
-    }
+    client_done(handle, object, obex_cmd, obex_rsp);
     break;
   case OBEX_EV_REQHINT:
     /* Comes BEFORE the lib parses anything. */
openSUSE Build Service is sponsored by