From 34e522bcad11b1264a92e46379991fb4d344f1d1 Mon Sep 17 00:00:00 2001 From: Niklas Date: Tue, 30 Aug 2011 15:03:25 +0200 Subject: added check for file existens. renamed the dhcpcd bin to customdhcpcd. temporal solution for the message loss problem => added a sleep(1) function after every send operation. this makes the programm a bit slower but it solves the problem, we now receive every message (issue 339) --- workspace/customdhcpcd/src/dhcpcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'workspace/customdhcpcd/src/dhcpcd.c') diff --git a/workspace/customdhcpcd/src/dhcpcd.c b/workspace/customdhcpcd/src/dhcpcd.c index f8f003c..9f91239 100644 --- a/workspace/customdhcpcd/src/dhcpcd.c +++ b/workspace/customdhcpcd/src/dhcpcd.c @@ -665,9 +665,9 @@ abort: free (dhcpcd_skiproutes); #endif - closeQtLoggerSocket(); logger (LOG_INFO, "exiting"); logToQt(LOG_INFO, DHCPCD_EXIT, "exiting due abort"); + closeQtLoggerSocket(); exit (retval); /* NOTREACHED */ } -- cgit v1.2.3-55-g7522