X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Fcore%2Fstore_lookup.c;h=476e0e717d9fb5c788651722d5e2a4948dcd696e;hp=ed585914cd38bee517d0dddfd84e47bfcbb6b980;hb=52e68c096ba26c0620f78718054b20dc6c0d5306;hpb=3da6e0cdfaba4755f5d272100e95528d33aae322 diff --git a/src/core/store_lookup.c b/src/core/store_lookup.c index ed58591..476e0e7 100644 --- a/src/core/store_lookup.c +++ b/src/core/store_lookup.c @@ -508,6 +508,8 @@ cond_tostring(sdb_store_matcher_t *m, char *buf, size_t buflen) value_str); sdb_data_free_datum(&value); } + else + snprintf(buf, buflen, ""); return buf; } /* cond_tostring */