From 9217b7d4f85216946943ab588e06b6bcd2f1b5bc Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sat, 9 Jun 2007 06:26:01 +0000 Subject: Code cleanup --- audio/unix.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'audio/unix.c') diff --git a/audio/unix.c b/audio/unix.c index f2bf2271..76650b75 100644 --- a/audio/unix.c +++ b/audio/unix.c @@ -85,9 +85,11 @@ static gboolean unix_event(GIOChannel *chan, GIOCondition cond, gpointer data) pkt->type = PKT_TYPE_CFG_RSP; pkt->length = sizeof(struct ipc_data_cfg); pkt->error = PKT_ERROR_NONE; + len = sendto(sk, pkt, len, 0, (struct sockaddr *) &addr, addrlen); if (len < 0) info("Error %s(%d)", strerror(errno), errno); + info("%d bytes sent", len); break; case PKT_TYPE_STATUS_REQ: -- cgit