diff options
-rw-r--r-- | src/filedb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/filedb.c b/src/filedb.c index 7e1c34d..9d75f40 100644 --- a/src/filedb.c +++ b/src/filedb.c @@ -523,6 +523,10 @@ transaction_itf( case Anydb_Transaction_Cancel: rc = recoverdb(filedb); break; + default: + errno = EINVAL; + rc = -1; + break; } return rc; } |