summaryrefslogtreecommitdiffstats
path: root/workspace/customdhcpcd/src/dhcpcd.c
diff options
context:
space:
mode:
authorNiklas2011-08-30 15:03:25 +0200
committerNiklas2011-08-30 15:03:25 +0200
commit34e522bcad11b1264a92e46379991fb4d344f1d1 (patch)
treee317e1b5f910e390ee4b1eae4e90df91ca78dc91 /workspace/customdhcpcd/src/dhcpcd.c
parenttried to fix the message loss problem, but failed. TODO: debug and socket sni... (diff)
downloadfbgui-34e522bcad11b1264a92e46379991fb4d344f1d1.tar.gz
fbgui-34e522bcad11b1264a92e46379991fb4d344f1d1.tar.xz
fbgui-34e522bcad11b1264a92e46379991fb4d344f1d1.zip
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)
Diffstat (limited to 'workspace/customdhcpcd/src/dhcpcd.c')
-rw-r--r--workspace/customdhcpcd/src/dhcpcd.c2
1 files changed, 1 insertions, 1 deletions
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 */
}