aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicowallmeier <nicowallmeier@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-03-13 14:58:15 +0000
committernicowallmeier <nicowallmeier@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-03-13 14:58:15 +0000
commit0e81f75d59d11dc40b2c99e8e6e0e492f78370df (patch)
tree954e65603cafe885a7f4602b98d7dbe9322e023e
parent29afa7af12980254fe7f91c0c0543d4fe59b967b (diff)
downloadlcd4linux-0e81f75d59d11dc40b2c99e8e6e0e492f78370df.tar.gz
[lcd4linux @ 2004-03-13 14:58:15 by nicowallmeier]
Added clean termination of imond-connection (now correctly) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@398 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rwxr-xr-xplugin_imon.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/plugin_imon.c b/plugin_imon.c
index 4e705d5..695c38b 100755
--- a/plugin_imon.c
+++ b/plugin_imon.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_imon.c,v 1.5 2004/03/13 14:55:14 nicowallmeier Exp $
+/* $Id: plugin_imon.c,v 1.6 2004/03/13 14:58:15 nicowallmeier Exp $
*
* imond/telmond data processing
*
@@ -22,8 +22,8 @@
*
*
* $Log: plugin_imon.c,v $
- * Revision 1.5 2004/03/13 14:55:14 nicowallmeier
- * Added clean termination of imond-connection
+ * Revision 1.6 2004/03/13 14:58:15 nicowallmeier
+ * Added clean termination of imond-connection (now correctly)
*
* Revision 1.4 2004/03/03 04:44:16 reinelt
* changes (cosmetics?) to the big patch from Martin
@@ -452,7 +452,10 @@ int plugin_init_imon (void){
}
void plugin_exit_imon(void){
- if (fd>0) close(fd);
+ if (fd>0){
+ send_command(fd,"quit");
+ close(fd);
+ }
hash_destroy(&TELMON);
hash_destroy(&IMON);
}
tr class='logheader'>2014-07-23Imported Upstream version 0+git20140611.14bd6c7upstream/0+git20140611.14bd6c7Jonathan McCrohan7-11/+60 2014-05-13New Upstream Snapshot (commit 1246b27)Jonathan McCrohan1-0/+6 2014-05-13Imported Upstream version 0+git20140512.1246b27upstream/0+git20140512.1246b27Jonathan McCrohan391-301/+3983 2014-04-05Release 0+git20140326.cfc2975-1debian/0+git20140326.cfc2975-1Jonathan McCrohan1-2/+2 2014-04-05d/control: update Homepage (upstream has moved from Gitweb to cgit)Jonathan McCrohan2-1/+2 2014-04-05New Upstream Snapshot (commit cfc2975)Jonathan McCrohan1-0/+6 2014-04-05Imported Upstream version 0+git20140326.cfc2975upstream/0+git20140326.cfc2975Jonathan McCrohan118-656/+877 2014-01-16Release 0+git20140107.1850cf8-1debian/0+git20140107.1850cf8-1Jonathan McCrohan1-2/+2 2014-01-16Update Standards Version to 3.9.5Jonathan McCrohan2-1/+9 No changes required