diff options
author | Thorsten Horstmann <thorsten.horstmann@web.de> | 2015-02-24 20:51:18 +0800 |
---|---|---|
committer | Thorsten Horstmann <thorsten.horstmann@web.de> | 2015-02-24 20:51:18 +0800 |
commit | ab9439519ac3ca1ce5b273587544da3494f87308 (patch) | |
tree | 0d26af69620cabf404afe2fac5e66a924323578f /dbutil.c | |
parent | abeb9d64a398cb38348f95b8d93b888f4e726cd0 (diff) |
Fix for old compilers, variable declarations at beginning of functions
and /**/ comments
Diffstat (limited to 'dbutil.c')
-rw-r--r-- | dbutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |