aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-10-21 22:47:24 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-10-23 08:22:38 +0200
commitd31ed6ac719cd3c7c1dcac5f9000b19536087b7e (patch)
tree8d958eac17766d96e256d77925fd8c222052a681 /lib/url.c
parent419d410ca0728ae591af9f58ef2c1f4132b0a21d (diff)
http2: s/priority/weight
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/url.c b/lib/url.c
index 866fee2eb..94b906d77 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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: