summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--objomsr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/objomsr.c b/objomsr.c
index e102597d..979f9d3a 100644
--- a/objomsr.c
+++ b/objomsr.c
@@ -64,7 +64,7 @@ rsRetVal OMSRconstruct(omodStringRequest_t **ppThis, int iNumEntries)
DEFiRet;
assert(ppThis != NULL);
- assert(iNumEntries > 0);
+ assert(iNumEntries >= 0);
if((pThis = calloc(1, sizeof(omodStringRequest_t))) == NULL) {
iRet = RS_RET_OUT_OF_MEMORY;
goto abort_it;