[misc] Fix compile warnings...
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 6c83d6d..d5291ab 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -56,10 +56,11 @@
 static int ipaccess_rcvmsg(struct msgb *msg, int fd)
 {
 	u_int8_t msg_type = *(msg->l2h);
+	int ret = 0;
 
 	switch (msg_type) {
 	case IPAC_MSGT_PING:
-		write(fd, pong, sizeof(pong));
+		ret = write(fd, pong, sizeof(pong));
 		break;
 	case IPAC_MSGT_PONG:
 		DEBUGP(DMI, "PONG!\n");
@@ -69,7 +70,7 @@
 		break;
 	case IPAC_MSGT_ID_ACK:
 		DEBUGP(DMI, "ID_ACK? -> ACK!\n");
-		write(fd, id_ack, sizeof(id_ack));
+		ret = write(fd, id_ack, sizeof(id_ack));
 		break;	
 	}