diff options
Diffstat (limited to 'src/tests/hellotest.c')
| -rw-r--r-- | src/tests/hellotest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/hellotest.c b/src/tests/hellotest.c index 4565f13a5..a873c03e2 100644 --- a/src/tests/hellotest.c +++ b/src/tests/hellotest.c @@ -32,7 +32,7 @@ void test_hello ( struct sockaddr_tcpip *server, const char *message ) { inet_ntoa ( sin->sin_addr ), ntohs ( sin->sin_port ) ); memset ( &hello, 0, sizeof ( hello ) ); - memcpy ( &hello.tcp.peer, server, sizeof ( hello.tcp.peer ) ); + memcpy ( &hello.server, server, sizeof ( hello.server ) ); hello.message = message; hello.callback = test_hello_callback; |
