version 1.1.2.3, 2011/12/24 17:30:29
|
version 1.1.2.4, 2011/12/29 14:13:13
|
Line 49 cleanArgs(struct tagArgs * __restrict args)
|
Line 49 cleanArgs(struct tagArgs * __restrict args)
|
static int |
static int |
Publish(int sock) |
Publish(int sock) |
{ |
{ |
return 0; | int siz = 0; |
| |
| return siz; |
} |
} |
|
|
|
|
Line 166 main(int argc, char **argv)
|
Line 168 main(int argc, char **argv)
|
return 2; |
return 2; |
} |
} |
|
|
|
if (args->isFile && !OpenFile()) { |
|
args->free(args); |
|
free(args); |
|
return 3; |
|
} |
|
|
printf("Connected ... "); |
printf("Connected ... "); |
switch ((ret = ConnectClient(sock))) { |
switch ((ret = ConnectClient(sock))) { |
case -1: |
case -1: |
Line 197 main(int argc, char **argv)
|
Line 205 main(int argc, char **argv)
|
CloseClient(sock); |
CloseClient(sock); |
} else { |
} else { |
close(sock); |
close(sock); |
ret = 3; | ret = 4; |
} |
} |
|
|
|
CloseFile(); |
args->free(args); |
args->free(args); |
free(args); |
free(args); |
return ret; |
return ret; |