mirror of
https://github.com/curl/curl.git
synced 2026-06-01 22:04:15 +03:00
Don't try to compare more than strlen chars
This commit is contained in:
parent
fecb67b246
commit
bad6410d08
1 changed files with 1 additions and 1 deletions
|
|
@ -665,7 +665,7 @@ static int validate_access(struct testcase *test,
|
|||
|
||||
logmsg("trying to get file: %s mode %x", filename, mode);
|
||||
|
||||
if(!strncmp("verifiedserver", filename, 15)) {
|
||||
if(!strncmp("verifiedserver", filename, 14)) {
|
||||
char weare[128];
|
||||
size_t count = sprintf(weare, "WE ROOLZ: %ld\r\n", (long)getpid());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue