summaryrefslogtreecommitdiffhomepage
path: root/dbutil.c
diff options
context:
space:
mode:
authorThorsten Horstmann <thorsten.horstmann@web.de>2015-02-24 20:51:18 +0800
committerThorsten Horstmann <thorsten.horstmann@web.de>2015-02-24 20:51:18 +0800
commitab9439519ac3ca1ce5b273587544da3494f87308 (patch)
tree0d26af69620cabf404afe2fac5e66a924323578f /dbutil.c
parentabeb9d64a398cb38348f95b8d93b888f4e726cd0 (diff)
Fix for old compilers, variable declarations at beginning of functions
and /**/ comments
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);