Fixed type mismatch in the formatted output

This commit is contained in:
Polshakov Dmitry 2016-04-09 10:24:35 +03:00
parent 3b4a411532
commit 9bdb2ef9eb
4 changed files with 9 additions and 9 deletions

View file

@ -201,7 +201,7 @@ int start_http(int s, char *ip, int port, unsigned char options, char *miscptr,
}
} else {
if (ptr != NULL && *ptr != '4')
fprintf(stderr, "[WARNING] Unusual return code: %.3s for %s:%s\n", (char) *ptr, login, pass);
fprintf(stderr, "[WARNING] Unusual return code: %.3s for %s:%s\n", (char *) ptr, login, pass);
//the first authentication type failed, check the type from server header
if ((hydra_strcasestr(http_buf, "WWW-Authenticate: Basic") == NULL) && (http_auth_mechanism == AUTH_BASIC)) {