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.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/CrashDumper/src/upload.cpp b/plugins/CrashDumper/src/upload.cpp
index fccdc858ce..f3a70a2cae 100644
--- a/plugins/CrashDumper/src/upload.cpp
+++ b/plugins/CrashDumper/src/upload.cpp
@@ -42,7 +42,8 @@ void GetLoginStr(char* user, size_t szuser, char* pass)
if (db_get_s(NULL, PluginName, "Username", &dbv) == 0) {
strncpy_s(user, szuser, dbv.pszVal, _TRUNCATE);
db_free(&dbv);
- } else
+ }
+ else
user[0] = 0;
if (db_get_s(NULL, PluginName, "Password", &dbv) == 0) {
@@ -56,7 +57,8 @@ void GetLoginStr(char* user, size_t szuser, char* pass)
arrayToHex(hash, sizeof(hash), pass);
db_free(&dbv);
- } else
+ }
+ else
pass[0] = 0;
}