diff options
| author | Magnus Ahltorp <map@kth.se> | 2016-07-11 16:52:19 +0200 |
|---|---|---|
| committer | Magnus Ahltorp <map@kth.se> | 2016-07-11 16:56:54 +0200 |
| commit | c0054123f17da4d684e92fd746305986bf459628 (patch) | |
| tree | ca6d05a653e3e1fe0320c0da372ba8f421bfd087 /c_src/permdbport.c | |
| parent | 34c827d599c840a5c09999a721d81115d0457d6a (diff) | |
Better error handling when allocating and freeing permdb objectpermdb-alloc-fix-2
Diffstat (limited to 'c_src/permdbport.c')
| -rw-r--r-- | c_src/permdbport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c_src/permdbport.c b/c_src/permdbport.c index 39b0b72..f5f151d 100644 --- a/c_src/permdbport.c +++ b/c_src/permdbport.c @@ -31,6 +31,7 @@ main(int argc, char *argv[]) permdb_object *state = permdb_alloc(store); if (state == NULL) { + fprintf(stderr, "permdbport failed to start\n"); write_reply(NULL, 0, 4); return 1; } |
