From d36abe7cdac9b325a33e7687fb6af639e6bd3c1e Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Tue, 1 Jan 2013 12:41:27 +0100 Subject: [PATCH] copy-paste derp --- main/source/Network/update.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main/source/Network/update.cpp b/main/source/Network/update.cpp index ebcea0a..38b98b5 100644 --- a/main/source/Network/update.cpp +++ b/main/source/Network/update.cpp @@ -14,13 +14,13 @@ string CheckNewVersions() string revs = "error"; char buffer[100]; #ifdef STBOOTVWII - struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.st.vwii/revisions.st.vwii"); + sprintf(buffer, "http://www.nanolx.org/hbf/DOL.st.vwii/revisions.st.vwii"); #elif VWII - struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.vwii/revisions.vwii"); + sprintf(buffer, "http://www.nanolx.org/hbf/DOL.vwii/revisions.vwii"); #elif STBOOT - struct block file = downloadfile("http://www.nanolx.org/hbf/DOL.st/revisions.st"); + sprintf(buffer, "http://www.nanolx.org/hbf/DOL.st/revisions.st"); #else - struct block file = downloadfile("http://www.nanolx.org/hbf/DOL/revisions"); + sprintf(buffer, "http://www.nanolx.org/hbf/DOL/revisions"); #endif struct block file = downloadfile(buffer); if (file.data != NULL)