Skip to content

Commit

Permalink
bug fix: variable_present
Browse files Browse the repository at this point in the history
  • Loading branch information
wallyatgithub committed Apr 4, 2023
1 parent 554417c commit 6381b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h2load_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2006,7 +2006,7 @@ bool variable_present(const std::string& source, size_t start_offset, size_t& va
return false;
}
var_start = source.find("${", start_offset);
var_end = source.find("}", start_offset);
var_end = source.find("}", var_start);
if ((var_start == std::string::npos) ||
(var_end == std::string::npos) ||
(var_end < var_start))
Expand Down

0 comments on commit 6381b95

Please sign in to comment.