i3-msg: include newline at the end of the reply

This commit is contained in:
Michael Stapelberg 2011-09-05 22:55:31 +02:00
parent 71b4fe9e60
commit 32ad9f7e3a
1 changed files with 1 additions and 1 deletions

View 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);