aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_plugin_transport_wlan_dummy.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-12-22 14:29:46 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-12-22 14:29:46 +0000
commit78c035a8492a5d57e0b16d6b784adbca2e817a96 (patch)
tree17806ec7857d9e0cd0f4db215e8db4c3a3d52d65 /src/transport/test_plugin_transport_wlan_dummy.c
parent7c1bbd6fd987b8ef8c0fbd5319279878430cf2c5 (diff)
downloadgnunet-78c035a8492a5d57e0b16d6b784adbca2e817a96.tar.gz
gnunet-78c035a8492a5d57e0b16d6b784adbca2e817a96.zip
wlan changes
Diffstat (limited to 'src/transport/test_plugin_transport_wlan_dummy.c')
-rw-r--r--src/transport/test_plugin_transport_wlan_dummy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/test_plugin_transport_wlan_dummy.c b/src/transport/test_plugin_transport_wlan_dummy.c
index b4fd46610..53b957eca 100644
--- a/src/transport/test_plugin_transport_wlan_dummy.c
+++ b/src/transport/test_plugin_transport_wlan_dummy.c
@@ -58,7 +58,7 @@ void sigfunc(int sig)
58int 58int
59main(int argc, char *argv[]) 59main(int argc, char *argv[])
60{ 60{
61 struct stat st; 61 struct stat st,st2;
62 int erg; 62 int erg;
63 int first; 63 int first;
64 FILE *fpin; 64 FILE *fpin;
@@ -72,7 +72,7 @@ main(int argc, char *argv[])
72 //make the fifos if needed 72 //make the fifos if needed
73 if (stat(FIFO_FILE1, &st) != 0) 73 if (stat(FIFO_FILE1, &st) != 0)
74 { 74 {
75 if (stat(FIFO_FILE2, &st) != 0) 75 if (stat(FIFO_FILE2, &st2) != 0)
76 { 76 {
77 perror("FIFO 2 exists, but FIFO 1 not"); 77 perror("FIFO 2 exists, but FIFO 1 not");
78 exit(1); 78 exit(1);
@@ -96,7 +96,7 @@ main(int argc, char *argv[])
96 else 96 else
97 { 97 {
98 first = 0; 98 first = 0;
99 if (stat(FIFO_FILE2, &st) == 0) 99 if (stat(FIFO_FILE2, &st2) == 0)
100 { 100 {
101 perror("FIFO 1 exists, but FIFO 2 not"); 101 perror("FIFO 1 exists, but FIFO 2 not");
102 exit(1); 102 exit(1);