diff --git a/lib/nghttp2_submit.c b/lib/nghttp2_submit.c index 23b8de1a..61c4cb44 100644 --- a/lib/nghttp2_submit.c +++ b/lib/nghttp2_submit.c @@ -363,7 +363,6 @@ int nghttp2_submit_altsvc(nghttp2_session *session, uint8_t flags, memcpy(varp, origin, origin_len); copy_origin = varp; - varp += origin_len; } frame = malloc(sizeof(nghttp2_frame));