diff dbutil.c @ 1455:4afde04f0607 fuzz

merge up to date
author Matt Johnston <matt@ucc.asn.au>
date Tue, 23 Jan 2018 22:46:07 +0800
parents 41dca1e5ea34 336cae2238ca
children 5916af64acd4
line wrap: on
line diff
--- a/dbutil.c	Mon Aug 14 00:00:10 2017 +0800
+++ b/dbutil.c	Tue Jan 23 22:46:07 2018 +0800
@@ -514,7 +514,7 @@
 void m_close(int fd) {
 	int val;
 
-	if (fd == -1) {
+	if (fd < 0) {
 		return;
 	}