summaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-helper-vpn.c
diff options
context:
space:
mode:
authorPhilipp Tölke <toelke@in.tum.de>2011-01-30 20:53:30 +0000
committerPhilipp Tölke <toelke@in.tum.de>2011-01-30 20:53:30 +0000
commit13b3ecd3c2d5ce04939eb147968c06770176abee (patch)
tree5249e5247cf9785da6fc4a04dfdb433cbb1a0726 /src/vpn/gnunet-helper-vpn.c
parentea6ba478c7be6d76e4aa710b957fdd7d4c22dba0 (diff)
initialize variables
Diffstat (limited to 'src/vpn/gnunet-helper-vpn.c')
-rw-r--r--src/vpn/gnunet-helper-vpn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpn/gnunet-helper-vpn.c b/src/vpn/gnunet-helper-vpn.c
index 53e86e303..06f07f542 100644
--- a/src/vpn/gnunet-helper-vpn.c
+++ b/src/vpn/gnunet-helper-vpn.c
@@ -301,14 +301,14 @@ run (int fd_tun)
*/
unsigned char buftun[MAX_SIZE];
ssize_t buftun_size = 0;
- unsigned char *buftun_read;
+ unsigned char *buftun_read = 0;
/*
* The buffer filled by reading from stdin
*/
unsigned char bufin[MAX_SIZE];
ssize_t bufin_size = 0;
- unsigned char *bufin_write;
+ unsigned char *bufin_write = 0;
fd_set fds_w;
fd_set fds_r;