summaryrefslogtreecommitdiff
path: root/vxi11_server.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1999-12-31 20:09:03 -0500
committerroot <root@avtech.domain.avtechpulse.com>1999-12-31 20:09:03 -0500
commite5dda24b7d475d697e4782dc71bd0dd37a76a67d (patch)
tree306a260e3e4cf766c910254a14bd9fdfb7f666ba /vxi11_server.c
parent23c4e25ef1e8109b1f344cc1eb74e2a0156ddd66 (diff)
added a debugging printf in response to vxi reads
Diffstat (limited to 'vxi11_server.c')
-rw-r--r--vxi11_server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vxi11_server.c b/vxi11_server.c
index 1f0ac4f..1faa821 100644
--- a/vxi11_server.c
+++ b/vxi11_server.c
@@ -186,6 +186,9 @@ device_read_1_svc(Device_ReadParms *argp, struct svc_req *rqstp) {
if (globals.Registers.pending_output_message != NULL) {
result.data.data_val = globals.Registers.pending_output_message;
result.data.data_len = strlen(result.data.data_val) + 1;
+#ifdef DEBUG
+ printf("sending ---%s---\n", globals.Registers.pending_output_message);
+#endif
}
else {
result.data.data_val = NULL;