aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/builtinurl
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/builtinurl')
-rw-r--r--src/plugins/builtinurl/builtins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/builtinurl/builtins.c b/src/plugins/builtinurl/builtins.c
index 14b68ce4a58..24323cd596e 100644
--- a/src/plugins/builtinurl/builtins.c
+++ b/src/plugins/builtinurl/builtins.c
@@ -54,7 +54,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++;