mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed problem with cloning and "Guest menu commands = .." being present in the config file
SVN revision: 2297
This commit is contained in:
parent
7383ffd06f
commit
58668e5e47
@ -15704,7 +15704,7 @@ void receive_pwdfile(LOGBOOK * lbs, char *server, char *error_str)
|
|||||||
fgets(pwd, sizeof(pwd), stdin);
|
fgets(pwd, sizeof(pwd), stdin);
|
||||||
while (pwd[strlen(pwd) - 1] == '\n' || pwd[strlen(pwd) - 1] == '\r')
|
while (pwd[strlen(pwd) - 1] == '\n' || pwd[strlen(pwd) - 1] == '\r')
|
||||||
pwd[strlen(pwd) - 1] = 0;
|
pwd[strlen(pwd) - 1] = 0;
|
||||||
} else if (status != 200 && status != 302) {
|
} else if (status != 200 && status != 302 && status != 404) {
|
||||||
xfree(buffer);
|
xfree(buffer);
|
||||||
*strchr(str, '?') = 0;
|
*strchr(str, '?') = 0;
|
||||||
sprintf(error_str, "Received invalid response from elogd server at http://%s", str);
|
sprintf(error_str, "Received invalid response from elogd server at http://%s", str);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user