summaryrefslogtreecommitdiff
path: root/src/rewrites/rewrites.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rewrites/rewrites.c')
-rw-r--r--src/rewrites/rewrites.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rewrites/rewrites.c b/src/rewrites/rewrites.c
index 3a9a762..cf7f4f0 100644
--- a/src/rewrites/rewrites.c
+++ b/src/rewrites/rewrites.c
@@ -25,9 +25,6 @@ void read_url_rewrites(str file){
off += rwt.output.query.len;
while(off < file.len && !charislinebreak(file.ptr[off++]));
if(rwt.pattern.len != 0 && rwt.output.path.len != 0){
- rwt.pattern.ptr[rwt.pattern.len] = '\0';
- rwt.output.path.ptr[rwt.output.path.len] = '\0';
- rwt.output.query.ptr[rwt.output.query.len] = '\0';
list_push(rewrites, rwt);
}
}