Revision 9f4cebf3 chunker_player/tcp_chunk_puller.c

View differences:

chunker_player/tcp_chunk_puller.c
39 39
	int fd;
40 40
  
41 41
	accept_fd = socket(AF_INET, SOCK_STREAM, 0);
42
	if (fd < 0) {
42
	if (accept_fd < 0) {
43
		perror("cannot create socket!\n");
43 44
		return -1;
44 45
	}
45 46
	servaddr.sin_family = AF_INET;

Also available in: Unified diff