From 278b89d092cae8fe9cdd6346c69512886d36abbd Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Thu, 4 Sep 2014 20:04:21 +0200 Subject: Silly me --- src/inlines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inlines.c b/src/inlines.c index 5e0f3e5..6b17027 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -112,7 +112,7 @@ static unsigned char *bufdup(const unsigned char *buf) { unsigned char *new = NULL; - if (!buf) { + if (buf) { int len = strlen((char *)buf); new = malloc(len + 1); memcpy(new, buf, len + 1); -- cgit v1.2.3