diff --git a/src/mbmon.c b/src/mbmon.c
index 859714c2782f28d42d42cd401fea017259187ea8..2d6d77e21474c274af56c7c9e2cdcd7e41575af2 100644 (file)
--- a/src/mbmon.c
+++ b/src/mbmon.c
/**
* collectd - src/mbmon.c
/**
* collectd - src/mbmon.c
- * Copyright (C) 2006 Flavio Stanchina
+ * Copyright (C) 2006 Flavio Stanchina
+ * Copyright (C) 2006-2007 Florian octo Forster
* Based on the hddtemp plugin.
*
* This program is free software; you can redistribute it and/or modify it
* Based on the hddtemp plugin.
*
* This program is free software; you can redistribute it and/or modify it
*
* Authors:
* Flavio Stanchina <flavio at stanchina.net>
*
* Authors:
* Flavio Stanchina <flavio at stanchina.net>
+ * Florian Forster <octo at collectd.org>
**/
#include "collectd.h"
**/
#include "collectd.h"
#include "configfile.h"
#include <netdb.h>
#include "configfile.h"
#include <netdb.h>
-#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
double value;
char *nextc;
double value;
char *nextc;
- char *type;
- char *inst;
+ const char *type;
+ const char *inst;
*t++ = '\0';
trim_spaces (s);
*t++ = '\0';
trim_spaces (s);