version 1.1.2.6, 2010/10/27 16:39:47
|
version 1.1.2.7, 2010/10/27 16:45:35
|
Line 101 main(int argc, char **argv)
|
Line 101 main(int argc, char **argv)
|
return 1; |
return 1; |
} |
} |
|
|
if (fg) | if (!fg) |
switch (fork()) { |
switch (fork()) { |
case -1: |
case -1: |
printf("Error:: when fork() #%d - %s\n", errno, strerror(errno)); |
printf("Error:: when fork() #%d - %s\n", errno, strerror(errno)); |
Line 134 main(int argc, char **argv)
|
Line 134 main(int argc, char **argv)
|
goto end; |
goto end; |
} |
} |
|
|
if (!(wds = wifi_buildWDS(s, ifs, nif))) | if (!(wds = wifi_buildWDS(s, ifs, nif))) { |
| syslog(LOG_ERR, "Error:: Go to dead ...\n"); |
goto end; |
goto end; |
|
} |
|
|
while (!Kill) { |
while (!Kill) { |
len = read(s, (void*) msg, sizeof msg); |
len = read(s, (void*) msg, sizeof msg); |