mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
sscanf change
This commit is contained in:
parent
d3f784ab64
commit
93283091d0
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ int32_t get_sip_code(char *buf) {
|
|||
int32_t code;
|
||||
char tmpbuf[SIP_MAX_BUF], word[SIP_MAX_BUF];
|
||||
|
||||
if (sscanf(buf, "%s %i %s", tmpbuf, &code, word) != 3)
|
||||
if (sscanf(buf, "%256s %i %256s", tmpbuf, &code, word) != 3)
|
||||
return -1;
|
||||
return code;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue