summaryrefslogtreecommitdiff
path: root/vxi11_server.c
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-24 20:03:59 +0900
committerdaniel <danieruru@gmail.com>2013-01-24 20:03:59 +0900
commit609325f41d9d584af0b333fd1fec17483c59deee (patch)
tree9afe196c6e63ce9c5d0f8da32e242c0869db8d50 /vxi11_server.c
parent757db4df1c92bd16b787283ef0ae3c2dda70df9d (diff)
Fix the last commit that didn't actually compile because of the time being messed up on my BB
Diffstat (limited to 'vxi11_server.c')
-rw-r--r--vxi11_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vxi11_server.c b/vxi11_server.c
index f8aa439..a272e1e 100644
--- a/vxi11_server.c
+++ b/vxi11_server.c
@@ -176,7 +176,7 @@ device_read_1_svc(Device_ReadParms *argp, struct svc_req *rqstp) {
printf("device_read_1_svc()\n");
#endif
- if (result != NULL) {
+ if (result.data.data_val != NULL) {
free(result.data.data_val);
result.data.data_val = NULL;
result.data.data_len = 0;