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 144141e..398de47 100644 --- a/vxi11_server.c +++ b/vxi11_server.c @@ -482,7 +482,7 @@ device_enable_srq_1_svc(Device_EnableSrqParms *argp, struct svc_req *rqstp) { } if (argp->enable) { if (argp->handle.handle_val != NULL ) { - inthandler = g_strdup(argp->handle.handle_val); + inthandler = g_strndup(argp->handle.handle_val, argp->handle.handle_len); #ifdef DEBUG printf("Interrupt handle set to %s\n", inthandler); #endif |