diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-10-21 22:47:24 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-10-23 08:22:38 +0200 |
commit | d31ed6ac719cd3c7c1dcac5f9000b19536087b7e (patch) | |
tree | 8d958eac17766d96e256d77925fd8c222052a681 /lib/url.c | |
parent | 419d410ca0728ae591af9f58ef2c1f4132b0a21d (diff) |
http2: s/priority/weight
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2663,13 +2663,13 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, case CURLOPT_PIPEWAIT: data->set.pipewait = (0 != va_arg(param, long))?TRUE:FALSE; break; - case CURLOPT_STREAM_PRIORITY: + case CURLOPT_STREAM_WEIGHT: #ifndef USE_NGHTTP2 return CURLE_NOT_BUILT_IN; #else arg = va_arg(param, long); if((arg>=1) && (arg <= 256)) - data->set.stream_prio = (int)arg; + data->set.stream_weight = (int)arg; break; #endif case CURLOPT_STREAM_DEPENDS: |