comparison mtctest/sock_conn.c @ 26:c08d81fa8117

themwi-test-mtc: missed newline at the end of error message on short read from socket
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 28 Jun 2022 19:11:15 -0800
parents cc0e1c6e33c3
children
comparison
equal deleted inserted replaced
25:fd43f179ff1d 26:c08d81fa8117
45 if (rc < 0) { 45 if (rc < 0) {
46 perror("read from socket"); 46 perror("read from socket");
47 exit(1); 47 exit(1);
48 } 48 }
49 if (rc < 4) { 49 if (rc < 4) {
50 fprintf(stderr, "short read from socket: %d bytes", rc); 50 fprintf(stderr, "short read from socket: %d bytes\n", rc);
51 exit(1); 51 exit(1);
52 } 52 }
53 msg_from_mncc(&msg, rc); 53 msg_from_mncc(&msg, rc);
54 } 54 }
55 55