summaryrefslogtreecommitdiffstats
path: root/src/plugins/http_static/builtinurl/json_urls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/http_static/builtinurl/json_urls.c')
-rw-r--r--src/plugins/http_static/builtinurl/json_urls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/http_static/builtinurl/json_urls.c b/src/plugins/http_static/builtinurl/json_urls.c
index 0d83d39fade..808893aac79 100644
--- a/src/plugins/http_static/builtinurl/json_urls.c
+++ b/src/plugins/http_static/builtinurl/json_urls.c
@@ -51,7 +51,7 @@ trim_path_from_request (u8 *s, char *path)
* like a c-string.
*/
*cp = 0;
- _vec_len (s) = cp - s;
+ vec_set_len (s, cp - s);
break;
}
cp++;