* implement custom Gnome-VFS http timeouts as 'ACQUIRE_CABINET_READ_RAW_READ_TIMEOUT'.
*/
#if 0
-#define MICROSOFTCOM_URL "http://www.microsoft.com/WindowsXP/pro/downloads/servicepacks/sp1/checkedbuild.asp"
+#define MICROSOFTCOM_URL "http://www.microsoft.com/downloads/details.aspx?familyid=7a4d8d12-9f5d-42bb-b31c-7b31657c869c"
#else
-#define MICROSOFTDOWNLOAD_URL "http://download.microsoft.com/download/9/7/6/9763833d-bd58-41e2-9911-50f64c7252a3/xpsp1a_en_x86_CHK.exe"
+#define MICROSOFTDOWNLOAD_URL "http://download.microsoft.com/download/e/c/6/ec6e00ab-ec05-4673-b8db-0658cf65f043/WindowsXP-KB835935-SP2-DEBUG-ENU.exe"
#endif
char *base_contents,*href_end;
#endif
char *href;
-const char *href2;
GnomeVFSURI *uri;
#ifdef MICROSOFTCOM_URL
#else
href=MICROSOFTDOWNLOAD_URL;
#endif
- if (strncmp(href,"http://",strlen("http://"))) {
- g_warning(_("Destination file URL not valid: %s"),href);
- goto fail_free_base_contents;
- }
- href2=captive_printf_alloca("httpcaptive://%s",href+strlen("http://"));
- if (!(uri=gnome_vfs_uri_new(href2))) {
- g_warning(_("Found destination file URL not parsable: %s"),href2);
+ if (!(uri=gnome_vfs_uri_new(href))) {
+ g_warning(_("Found destination file URL not parsable: %s"),href);
goto fail_free_base_contents;
}
#ifdef MICROSOFTCOM_URL