index
:
dropbear
bindtodevice
master
Smallish SSH server and client
summary
refs
log
tree
commit
diff
homepage
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
dbutil.c
2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbutil.c b/dbutil.c
index 830e8d2..e5c5a31 100644
--- a/
dbutil.c
+++ b/
dbutil.c
@@ -506,7 +506,7 @@ out:
void m_close(int fd) {
int val;
- if (fd == -1) {
+ if (fd < 0) {
return;
}