Browse Source

Fix dumb bug.

Georgi Chorbadzhiyski 12 years ago
parent
commit
669132911b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      camd.c

+ 1
- 1
camd.c View File

@@ -58,7 +58,7 @@ static int connect_to(struct in_addr ip, int port) {
58 58
 	}
59 59
 
60 60
 	int flag = 1;
61
-	result = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &flag, sizeof(int));
61
+	setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &flag, sizeof(int));
62 62
 
63 63
 	ts_LOGf("CAM | Connected to fd:%d\n", fd);
64 64
 	return fd;

Loading…
Cancel
Save