From fd9e99a163616bc7def7cbcd483b4497bdb55424 Mon Sep 17 00:00:00 2001 From: kanoi Date: Tue, 17 Jun 2014 15:15:35 +1000 Subject: [PATCH] ckdb - fix transfer string test --- src/ckdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ckdb.c b/src/ckdb.c index 0e56d00c..567cd142 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -922,7 +922,7 @@ static K_ITEM *require_name(char *name, int len, char *patt, char *reply, size_t } value = DATA_TRANSFER(item)->data; - if (!*value || (int)strlen(value) < len) { + if (!value || (int)strlen(value) < len) { snprintf(reply, siz, "failed.short %s", name); return NULL; }