Attemp to fix travis build error

This commit is contained in:
Tatsuhiro Tsujikawa 2015-07-11 02:08:16 +09:00
parent 3119fc259c
commit 6d556755ee
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ int parse_config(const char *opt, const char *optarg) {
if (util::strieq(opt, SHRPX_OPT_BACKEND)) {
auto optarglen = strlen(optarg);
auto pat_delim = strchr(optarg, ';');
const char *pat_delim = strchr(optarg, ';');
if (!pat_delim) {
pat_delim = optarg + optarglen;
}