Diff between 025f07ec0d0ebfb5e83c07d2918a6c01b0ae49a6 and 957c956112cc2bba528fe8df4a0a21d221a617ca

Changed Files

File Additions Deletions Status
client/player.c +2 -2 modified

Full Patch

diff --git a/client/player.c b/client/player.c
index 26190fe..5b0b918 100644
--- a/client/player.c
+++ b/client/player.c
@@ -4575,10 +4575,10 @@ static bool transport_recv(struct io *io, void *user_data)
 
 	transport->seq++;
 
-	if (transport->fd >= 0) {
+	if (transport->filename) {
 		len = write(transport->fd, buf, ret);
 		if (len < 0)
-			bt_shell_printf("Unable to write: %s (%d)",
+			bt_shell_printf("Unable to write: %s (%d)\n",
 						strerror(errno), -errno);
 	}