mirror of
https://github.com/curl/curl.git
synced 2026-08-04 02:20:00 +03:00
parent
66c95f05fa
commit
0d85c8c49d
1 changed files with 6 additions and 1 deletions
|
|
@ -437,8 +437,13 @@ ParameterError proto2num(struct OperationConfig *config,
|
|||
size_t plen;
|
||||
enum e_action { allow, deny, set } action = allow;
|
||||
|
||||
if(next)
|
||||
if(next) {
|
||||
if(str == next) {
|
||||
str++;
|
||||
continue;
|
||||
}
|
||||
plen = next - str - 1;
|
||||
}
|
||||
else
|
||||
plen = strlen(str) - 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue