Version 0.9.13. Close socket after use, fixes too much files open.

Sat, 25 Feb 2023 10:53:42 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 25 Feb 2023 10:53:42 +0100
changeset 632
9bd017df749b
parent 631
660001882989
child 633
8b84e73af50e

Version 0.9.13. Close socket after use, fixes too much files open.

configure file | annotate | diff | comparison | revisions
configure.ac file | annotate | diff | comparison | revisions
thermferm/mqtt.c file | annotate | diff | comparison | revisions
--- a/configure	Mon Feb 13 16:39:03 2023 +0100
+++ b/configure	Sat Feb 25 10:53:42 2023 +0100
@@ -2035,7 +2035,7 @@
 
 
 PACKAGE="mbsePi-apps"
-VERSION="0.9.12"
+VERSION="0.9.13"
 COPYRIGHT="Copyright (C) 2014-2023 Michiel Broek, All Rights Reserved"
 CYEARS="2014-2023"
 
--- a/configure.ac	Mon Feb 13 16:39:03 2023 +0100
+++ b/configure.ac	Sat Feb 25 10:53:42 2023 +0100
@@ -8,7 +8,7 @@
 dnl General settings
 dnl After changeing the version number, run autoconf!
 PACKAGE="mbsePi-apps"
-VERSION="0.9.12"
+VERSION="0.9.13"
 COPYRIGHT="Copyright (C) 2014-2023 Michiel Broek, All Rights Reserved"
 CYEARS="2014-2023"
 AC_SUBST(PACKAGE)
--- a/thermferm/mqtt.c	Mon Feb 13 16:39:03 2023 +0100
+++ b/thermferm/mqtt.c	Sat Feb 25 10:53:42 2023 +0100
@@ -1554,6 +1554,7 @@
 				    syslog(LOG_NOTICE, "Signal level is invalid");
 				}
 			    }
+			    close(sock);
 			}
 			payload = xstrcat(payload, (char *)"}");
 		    }

mercurial