summaryrefslogtreecommitdiff
path: root/vxi11_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'vxi11_server.c')
-rw-r--r--vxi11_server.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/vxi11_server.c b/vxi11_server.c
index bf57547..186826d 100644
--- a/vxi11_server.c
+++ b/vxi11_server.c
@@ -205,7 +205,12 @@ device_write_1_svc(Device_WriteParms *argp, struct svc_req *rqstp) {
else {
touchlink(argp->lid);
#ifdef DEBUG
- printf("got %s on link %d\n", argp->data.data_val, (int) argp->lid);
+ int n;
+ char *str = argp->data.data_val;
+ for(n=0; str[n] != '\0'; n++)
+ printf("%02x ",(unsigned char)str[n]);
+ printf("\n");
+ printf("got <<%s>> on link %d.\n", argp->data.data_val, (int) argp->lid);
#endif
Parser_main(argp->data.data_val, 0, GPIB_and_VXI_start_query_response, NULL);
result.size = argp->data.data_len;