diff options
Diffstat (limited to 'vxi11_server.c')
-rw-r--r-- | vxi11_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vxi11_server.c b/vxi11_server.c index 1a2a175..118f1a7 100644 --- a/vxi11_server.c +++ b/vxi11_server.c @@ -183,7 +183,7 @@ device_read_1_svc(Device_ReadParms *argp, struct svc_req *rqstp) { else { 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); + result.data.data_len = strlen(result.data.data_val) + 1; } else { result.data.data_val = NULL; |