diff options
Diffstat (limited to 'programs/echo_server.c')
-rw-r--r-- | programs/echo_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/programs/echo_server.c b/programs/echo_server.c index 38f1e133..1eab193a 100644 --- a/programs/echo_server.c +++ b/programs/echo_server.c @@ -91,7 +91,7 @@ receive_cb(struct socket *sock, union sctp_sockstore addr, void *data, port = 0; break; } - printf("Msg of length %d received from %s:%u on stream %d with SSN %u and TSN %u, PPID %u, context %u.\n", + printf("Msg of length %d received from %s:%u on stream %u with SSN %u and TSN %u, PPID %u, context %u.\n", (int)datalen, name, port, @@ -230,7 +230,7 @@ main(int argc, char *argv[]) printf("Notification of length %llu received.\n", (unsigned long long)n); } else { if (infotype == SCTP_RECVV_RCVINFO) { - printf("Msg of length %llu received from %s:%u on stream %d with SSN %u and TSN %u, PPID %u, context %u, complete %d.\n", + printf("Msg of length %llu received from %s:%u on stream %u with SSN %u and TSN %u, PPID %u, context %u, complete %d.\n", (unsigned long long)n, inet_ntop(AF_INET6, &addr.sin6_addr, name, INET6_ADDRSTRLEN), ntohs(addr.sin6_port), rcv_info.rcv_sid, |