Archived
1
0
Fork 0

common/strbuf: a little cleanup in rev

This commit is contained in:
H Hautakoski 2010-07-21 20:52:08 +02:00 committed by Henrik Hautakoski
parent 92477a7261
commit 1cf6ea1571
2 changed files with 12 additions and 11 deletions

View file

@ -1,10 +1,13 @@
#include <assert.h>
#include <stdio.h>
#include <malloc.h>
#include "../src/common/strbuf.h"
void print_strbuf(strbuf_t *s) {
assert(s->len = strlen(s->buf));
printf("block: %i, len: %i |%s|\n", s->alloc_size, s->len, s->buf);
}