diff options
Diffstat (limited to 'src/fbuf.c')
| -rw-r--r-- | src/fbuf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -115,7 +115,8 @@ char* bstringify(struct TMPL_buf* b, size_t* size){ b->head = single; b->tail = single; - *size = b->total_len; + if(size != NULL) + *size = b->total_len; return single->data; } |
