projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Treewide: cleanup whitespace
[collectd.git]
/
src
/
apcups.c
diff --git
a/src/apcups.c
b/src/apcups.c
index
29d58c3
..
b4bc099
100644
(file)
--- a/
src/apcups.c
+++ b/
src/apcups.c
@@
-220,7
+220,7
@@
static int net_recv (int *sockfd, char *buf, int buflen)
* Returns zero on success
* Returns non-zero on error
*/
* Returns zero on success
* Returns non-zero on error
*/
-static int net_send (int *sockfd, char *buff, int len)
+static int net_send (int *sockfd, c
onst c
har *buff, int len)
{
uint16_t packet_size;
{
uint16_t packet_size;
@@
-401,7
+401,7
@@
static int apcups_config (oconfig_item_t *ci)
return (0);
} /* int apcups_config */
return (0);
} /* int apcups_config */
-static void apc_submit_generic (c
har *type,
char *type_inst, double value)
+static void apc_submit_generic (c
onst char *type, const
char *type_inst, double value)
{
value_t values[1];
value_list_t vl = VALUE_LIST_INIT;
{
value_t values[1];
value_list_t vl = VALUE_LIST_INIT;