diff options
author | Azat Khuzhin <azat@libevent.org> | 2019-03-13 00:20:25 +0300 |
---|---|---|
committer | Azat Khuzhin <azat@libevent.org> | 2019-03-13 00:21:38 +0300 |
commit | bf19462a551f8d6e9dd3f5967905a7ff14e8f39c (patch) | |
tree | f6dbc68c492d93a012d124b39fbfac8d17981b44 | |
parent | 42d5a36bd8076c137545759d34500401627a649b (diff) | |
download | libevent-bf19462a551f8d6e9dd3f5967905a7ff14e8f39c.tar.gz |
http: suppress -Wwrite-string in evhttp_parse_query_impl()
-rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3327,7 +3327,7 @@ evhttp_parse_query_impl(const char *str, struct evkeyvalq *headers, key = strsep(&value, "="); if (flags & EVHTTP_URI_QUERY_NONCONFORMANT) { if (value == NULL) - value = ""; + value = (char *)""; if (*key == '\0') continue; } else { |