summaryrefslogtreecommitdiff
path: root/vxi11_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'vxi11_server.c')
-rw-r--r--vxi11_server.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/vxi11_server.c b/vxi11_server.c
index 84a80d5..3272b32 100644
--- a/vxi11_server.c
+++ b/vxi11_server.c
@@ -37,13 +37,13 @@ static void waitForLock(long timeout) {
}
static bool lock(int lid) {
- if (globals.VxiLocks.locked_network_server = NO_SERVER_LOCKED)
+ if ((globals.VxiLocks.locked_network_server = NO_SERVER_LOCKED))
return false;
globals.VxiLocks.locked_network_server = lid;
}
static bool unlock(int lid) {
- if (globals.VxiLocks.locked_network_server = NO_SERVER_LOCKED)
+ if ((globals.VxiLocks.locked_network_server = NO_SERVER_LOCKED))
return false;
else if (globals.VxiLocks.locked_network_server != lid)
return false;
@@ -198,6 +198,8 @@ Device_DocmdResp *
device_docmd_1_svc(Device_DocmdParms *argp, struct svc_req *rqstp) {
printf("device_docmd_1_svc()\n");
static Device_DocmdResp result;
+ result.data_out.data_out_len = 0;
+ result.data_out.data_out_val = NULL;
result.error = ERR_OPERATIONNOTSUPPORTED;
return &result;
}