From ab9439519ac3ca1ce5b273587544da3494f87308 Mon Sep 17 00:00:00 2001 From: Thorsten Horstmann Date: Tue, 24 Feb 2015 20:51:18 +0800 Subject: Fix for old compilers, variable declarations at beginning of functions and /**/ comments --- dbutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbutil.c') 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); -- cgit v1.2.3