nghttpd: Shut up travis

This commit is contained in:
Tatsuhiro Tsujikawa 2015-02-05 22:48:55 +09:00
parent be3ee91e90
commit 3904550d5d
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ namespace nghttp2 {
namespace { namespace {
int parse_push_config(Config &config, const char *optarg) { int parse_push_config(Config &config, const char *optarg) {
auto eq = strchr(optarg, '='); const char *eq = strchr(optarg, '=');
if (eq == NULL) { if (eq == NULL) {
return -1; return -1;
} }
@ -57,7 +57,7 @@ int parse_push_config(Config &config, const char *optarg) {
auto optarg_end = optarg + strlen(optarg); auto optarg_end = optarg + strlen(optarg);
auto i = eq + 1; auto i = eq + 1;
for (;;) { for (;;) {
auto j = strchr(i, ','); const char *j = strchr(i, ',');
if (j == NULL) { if (j == NULL) {
j = optarg_end; j = optarg_end;
} }