]> git.sur5r.net Git - i3/i3/commitdiff
i3-msg: include newline at the end of the reply
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 5 Sep 2011 20:55:31 +0000 (22:55 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 5 Sep 2011 20:55:31 +0000 (22:55 +0200)
i3-msg/main.c

index d8195e08c8df3ff7629148b9d97bad68e2e03886..2d7cef0e907eb3005b52798f46f4ca39e3d88af8 100644 (file)
@@ -245,7 +245,7 @@ int main(int argc, char *argv[]) {
     uint32_t reply_length;
     uint8_t *reply;
     ipc_recv_message(sockfd, message_type, &reply_length, &reply);
-    printf("%.*s", reply_length, reply);
+    printf("%.*s\n", reply_length, reply);
     free(reply);
 
     close(sockfd);