summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/ptrbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ptrbox.c b/core/ptrbox.c
index 2bdaa9c..b83ea8a 100644
--- a/core/ptrbox.c
+++ b/core/ptrbox.c
@@ -86,7 +86,7 @@ ptrbox_alloc(struct ptrbox *ptrbox, size_t len)
return NULL;
}
- return 0;
+ return p;
}
char *