mic plugin: Fix indentation issue.
authorFlorian Forster <octo@collectd.org>
Fri, 17 May 2013 14:44:02 +0000 (16:44 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 17 May 2013 14:44:02 +0000 (16:44 +0200)
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);
 }