aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/hs_apps/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/hs_apps/vcl')
-rw-r--r--src/plugins/hs_apps/vcl/sock_test_client.c4
-rw-r--r--src/plugins/hs_apps/vcl/sock_test_server.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/hs_apps/vcl/sock_test_client.c b/src/plugins/hs_apps/vcl/sock_test_client.c
index ea89987f325..569fd0759e1 100644
--- a/src/plugins/hs_apps/vcl/sock_test_client.c
+++ b/src/plugins/hs_apps/vcl/sock_test_client.c
@@ -211,8 +211,8 @@ echo_test_client ()
nbytes, &tsock->stats);
if (rx_bytes > 0)
{
- printf ("CLIENT (fd %d): RX (%d bytes) - '%s'\n",
- tsock->fd, rx_bytes, tsock->rxbuf);
+ printf ("CLIENT (fd %d): RX (%d bytes)\n", tsock->fd,
+ rx_bytes);
if (tsock->stats.rx_bytes != tsock->stats.tx_bytes)
printf ("CLIENT: WARNING: bytes read (%lu) "
diff --git a/src/plugins/hs_apps/vcl/sock_test_server.c b/src/plugins/hs_apps/vcl/sock_test_server.c
index 59dae179cd8..0714ccce01e 100644
--- a/src/plugins/hs_apps/vcl/sock_test_server.c
+++ b/src/plugins/hs_apps/vcl/sock_test_server.c
@@ -339,9 +339,8 @@ af_unix_echo (void)
errno_val = errno;
perror ("ERROR in af_unix_echo(): read() failed");
fprintf (stderr, "SERVER: ERROR: read(af_unix_client_fd %d (0x%x), "
- "\"%s\", nbytes %lu) failed (errno = %d)!\n",
- af_unix_client_fd, af_unix_client_fd, buffer, nbytes,
- errno_val);
+ "nbytes %lu) failed (errno = %d)!\n", af_unix_client_fd,
+ af_unix_client_fd, nbytes, errno_val);
goto done;
}