summaryrefslogtreecommitdiff
path: root/src/divertdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/divertdb.c')
-rw-r--r--src/divertdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/divertdb.c b/src/divertdb.c
index 62ed892b1..69c1c351f 100644
--- a/src/divertdb.c
+++ b/src/divertdb.c
@@ -56,7 +56,7 @@ ensure_diversions(void)
varbuf_reset(&vb);
varbufaddstr(&vb, admindir);
varbufaddstr(&vb, "/" DIVERSIONSFILE);
- varbufaddc(&vb, 0);
+ varbuf_add_char(&vb, '\0');
onerr_abort++;