diff --git a/test/sslapitest.c b/test/sslapitest.c index 00f27cb78e..29c125004a 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -6802,7 +6802,7 @@ static int create_new_vfile(char *userid, char *password, const char *filename) row = NULL; - if (!TXT_DB_write(out, db)) + if (TXT_DB_write(out, db) <= 0) goto end; ret = 1;