projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a11a66
)
mic plugin: Fix indentation issue.
author
Florian Forster
<octo@collectd.org>
Fri, 17 May 2013 14:44:02 +0000
(16:44 +0200)
committer
Florian Forster
<octo@collectd.org>
Fri, 17 May 2013 14:44:02 +0000
(16:44 +0200)
src/mic.c
patch
|
blob
|
history
diff --git
a/src/mic.c
b/src/mic.c
index
ec92c8b
..
570da51
100644
(file)
--- a/
src/mic.c
+++ b/
src/mic.c
@@
-398,7
+398,9
@@
static int mic_read (void)
static int mic_shutdown (void)
{
if (mic_handle)
- MicCloseAPI(&mic_handle);
+ MicCloseAPI(&mic_handle);
+ mic_handle = NULL;
+
return (0);
}