/demos/trunk/newtrace/utils/udpdump.c |
---|
54,7 → 54,6 |
int sd, rc, n, cliLen; |
struct sockaddr_in cliAddr, servAddr; |
char msg[MAX_MSG]; |
char ch; |
struct tracer_udp_header *pkt_head = (struct tracer_udp_header *)(msg); |
72,7 → 71,7 |
output_file = fopen(argv[1],"w+b"); |
if (output_file == NULL) { |
printf("%s: Cannot open the file\n"); |
printf("%s: Cannot open the file\n",argv[0]); |
exit(1); |
} |