diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-22 23:18:50 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-22 23:18:50 +0000 |
commit | f64086f80f1493c7f5009e99f4bd1fba47332cd3 (patch) | |
tree | 74f619fbbc391dfbbf514c98e674a13c02d2dd11 /py/vstr.c | |
parent | 452932ace4e0e0741982a8bdfdf6282022e48a6c (diff) |
Fix 1 warning and 1 bug.
Diffstat (limited to 'py/vstr.c')
-rw-r--r-- | py/vstr.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -190,6 +190,7 @@ void vstr_cut_tail(vstr_t *vstr, int len) { } else { vstr->len -= len; } + vstr->buf[vstr->len] = 0; } void vstr_printf(vstr_t *vstr, const char *fmt, ...) { |