projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SNMP Agent plugin:
[collectd.git]
/
src
/
daemon
/
globals.c
diff --git
a/src/daemon/globals.c
b/src/daemon/globals.c
index
3d3c7ab
..
5c6749f
100644
(file)
--- a/
src/daemon/globals.c
+++ b/
src/daemon/globals.c
@@
-21,8
+21,8
@@
* DEALINGS IN THE SOFTWARE.
**/
-#include "globals.h"
#include "common.h"
+#include "globals.h"
#if HAVE_KSTAT_H
#include <kstat.h>
@@
-43,6
+43,6
@@
void hostname_set(char const *hostname) {
if (h == NULL)
return;
- free(hostname_g);
+
s
free(hostname_g);
hostname_g = h;
}