Diff
Not logged in

Differences From:

File src/http_transport.c part of check-in [79be9028eb] - Keep track of total network traffic for a sync and report the totals at the end of the sync. by drh on 2009-08-12 14:41:32. [view]

To:

File src/http_transport.c part of check-in [aeaee1f385] - Add extra quoted to system() calls on windows. Ticket 8d073be8808b. Also update to the latest SQLite. by drh on 2009-09-10 23:00:22. [view]

@@ -163,13 +163,9 @@
     fclose(transport.pFile);
     zCmd = mprintf("\"%s\" http \"%s\" \"%s\" \"%s\" 127.0.0.1",
        g.argv[0], g.urlName, transport.zOutFile, transport.zInFile
     );
-#ifdef __MINGW32__
-    /* Quote the entire command to work around goofiness in system() on
-    ** on windows. Ticket [40df1ced7e] */
-    zCmd = mprintf("\"%z\"", zCmd);
-#endif
+    portable_system(zCmd);
     system(zCmd);
     free(zCmd);
     transport.pFile = fopen(transport.zInFile, "rb");
   }