[Spice-devel] [PATCH spice-streaming-agent v3 1/6] Remove the closelog() call

Lukáš Hrázký lhrazky at redhat.com
Mon Jul 2 08:43:34 UTC 2018


It is unnecessary, the syslog connections are closed automatically on
exit.

Signed-off-by: Lukáš Hrázký <lhrazky at redhat.com>
---
 src/spice-streaming-agent.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/spice-streaming-agent.cpp b/src/spice-streaming-agent.cpp
index be133e4..0a7edbe 100644
--- a/src/spice-streaming-agent.cpp
+++ b/src/spice-streaming-agent.cpp
@@ -501,6 +501,5 @@ int main(int argc, char* argv[])
         ret = EXIT_FAILURE;
     }
 
-    closelog();
     return ret;
 }
-- 
2.17.1



More information about the Spice-devel mailing list