Files
ports/games/quadra/files/patch-source_update.cpp
T
2026-10-04 04:07:15 +00:00

14 lines
466 B
C++

--- source/update.cpp.orig 2018-07-07 17:27:09 UTC
+++ source/update.cpp
@@ -80,8 +80,8 @@ void AutoUpdaterImpl::init() {
}
buf.resize(0);
- buf.append("GET "UPDATE_PATH" HTTP/1.0\r\n");
- buf.append("Host: "UPDATE_HOST"\r\n");
+ buf.append("GET " UPDATE_PATH " HTTP/1.0\r\n");
+ buf.append("Host: " UPDATE_HOST "\r\n");
buf.append("Connection: close\r\n");
snprintf(st, sizeof(st), "User-Agent: Quadra/%s\r\n", VERSION_STRING);
buf.append(st);