summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src/upload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CrashDumper/src/upload.cpp')
-rw-r--r--plugins/CrashDumper/src/upload.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CrashDumper/src/upload.cpp b/plugins/CrashDumper/src/upload.cpp
index 7e331f37ce..f277c1eec7 100644
--- a/plugins/CrashDumper/src/upload.cpp
+++ b/plugins/CrashDumper/src/upload.cpp
@@ -69,8 +69,8 @@ void OpenAuthUrl(const char* url)
if (user[0] && pass[0]) {
char str[256];
- mir_snprintf(str, SIZEOF(str), url, user); // XXX: fix me
- mir_snprintf(str, SIZEOF(str), "http://vi.miranda-ng.org/detail/%s", user);
+ mir_snprintf(str, url, user); // XXX: fix me
+ mir_snprintf(str, "http://vi.miranda-ng.org/detail/%s", user);
CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)str);
}
else CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW, (LPARAM)"http://vi.miranda-ng.org/");
@@ -82,7 +82,7 @@ void CreateAuthString(char* auth)
GetLoginStr(user, sizeof(user), pass);
char str[110];
- int len = mir_snprintf(str, SIZEOF(str), "%s:%s", user, pass);
+ int len = mir_snprintf(str, "%s:%s", user, pass);
mir_snprintf(auth, 250, "Basic %s", ptrA(mir_base64_encode((PBYTE)str, len)));
}
@@ -205,7 +205,7 @@ void __cdecl VersionInfoUploadThread(void* arg)
char user[64], pass[40];
GetLoginStr(user, sizeof(user), pass);
char str[256];
- mir_snprintf(str, SIZEOF(str), "http://vi.miranda-ng.org/en/upload?login=%s&pass=%s", user, pass);
+ mir_snprintf(str, "http://vi.miranda-ng.org/en/upload?login=%s&pass=%s", user, pass);
InternetDownloadFile(str, trn);
mir_free(trn->buf);