nghttpd: Shut up travis
This commit is contained in:
parent
be3ee91e90
commit
3904550d5d
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue