summaryrefslogtreecommitdiff
path: root/dbutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbutil.c')
-rw-r--r--dbutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbutil.c b/dbutil.c
index ec108bf..eb781c3 100644
--- a/dbutil.c
+++ b/dbutil.c
@@ -868,12 +868,12 @@ out:
/* make sure that the socket closes */
void m_close(int fd) {
+ int val;
if (fd == -1) {
return;
}
- int val;
do {
val = close(fd);
} while (val < 0 && errno == EINTR);