From 2b63b0ee2fc000d298faaf29b80cb840d43934d5 Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Mon, 2 Dec 2013 11:38:31 +0100 Subject: Close socket when send fails. Signed-off-by: Alexander Wenzel --- src/daemon/dlt-daemon.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/daemon/dlt-daemon.h') diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h index 2e4f62c..46321a7 100755 --- a/src/daemon/dlt-daemon.h +++ b/src/daemon/dlt-daemon.h @@ -195,5 +195,7 @@ int create_timer_fd(DltDaemonLocal *daemon_local, int period_sec, int starts_in, void dlt_daemon_send_timingpacket(DltDaemon *daemon, DltDaemonLocal *daemon_local); void dlt_daemon_send_ecuversion(DltDaemon *daemon, DltDaemonLocal *daemon_local); +int dlt_daemon_close_socket(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_local, int verbose); + #endif /* DLT_DAEMON_H */ -- cgit v1.2.1