projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be5ea7
)
openvpn plugin: remove unnecessary cast
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 23 Apr 2016 09:30:19 +0000
(11:30 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 23 Apr 2016 09:30:19 +0000
(11:30 +0200)
src/openvpn.c
patch
|
blob
|
history
diff --git
a/src/openvpn.c
b/src/openvpn.c
index
ec76a7a
..
f10b174
100644
(file)
--- a/
src/openvpn.c
+++ b/
src/openvpn.c
@@
-712,7
+712,7
@@
static int openvpn_config (const char *key, const char *value)
temp->version = status_version;
temp->name = status_name;
- vpn_list =
(vpn_status_t **)
realloc (vpn_list, (vpn_num + 1) * sizeof (vpn_status_t *));
+ vpn_list = realloc (vpn_list, (vpn_num + 1) * sizeof (vpn_status_t *));
if (vpn_list == NULL)
{
char errbuf[1024];