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 | 18194ed2d1a30eae89fa071bc4b78a5d257eae2d (patch) | |
tree | c35c89418adba4bdcf080c5aef782794147dea79 /dbutil.c | |
parent | 1b125465182b5cdb9f80e4a934c936168ab95b2f (diff) | |
download | dropbear-18194ed2d1a30eae89fa071bc4b78a5d257eae2d.tar.gz |
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); |