Fixed problem with cloning and "Guest menu commands = .." being present in the config file

SVN revision: 2297
This commit is contained in:
2010-05-18 11:19:28 +00:00
parent 7383ffd06f
commit 58668e5e47
+1 -1
View File
@@ -15704,7 +15704,7 @@ void receive_pwdfile(LOGBOOK * lbs, char *server, char *error_str)
fgets(pwd, sizeof(pwd), stdin);
while (pwd[strlen(pwd) - 1] == '\n' || pwd[strlen(pwd) - 1] == '\r')
pwd[strlen(pwd) - 1] = 0;
} else if (status != 200 && status != 302) {
} else if (status != 200 && status != 302 && status != 404) {
xfree(buffer);
*strchr(str, '?') = 0;
sprintf(error_str, "Received invalid response from elogd server at http://%s", str);