i3-msg: include newline at the end of the reply
This commit is contained in:
parent
71b4fe9e60
commit
32ad9f7e3a
|
@ -245,7 +245,7 @@ int main(int argc, char *argv[]) {
|
||||||
uint32_t reply_length;
|
uint32_t reply_length;
|
||||||
uint8_t *reply;
|
uint8_t *reply;
|
||||||
ipc_recv_message(sockfd, message_type, &reply_length, &reply);
|
ipc_recv_message(sockfd, message_type, &reply_length, &reply);
|
||||||
printf("%.*s", reply_length, reply);
|
printf("%.*s\n", reply_length, reply);
|
||||||
free(reply);
|
free(reply);
|
||||||
|
|
||||||
close(sockfd);
|
close(sockfd);
|
||||||
|
|
Loading…
Reference in New Issue