summaryrefslogtreecommitdiff
path: root/libvxi11client/libvxi11client.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvxi11client/libvxi11client.c')
-rw-r--r--libvxi11client/libvxi11client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvxi11client/libvxi11client.c b/libvxi11client/libvxi11client.c
index ff8f86f..4697775 100644
--- a/libvxi11client/libvxi11client.c
+++ b/libvxi11client/libvxi11client.c
@@ -499,7 +499,7 @@ int vxi11_enable_srq(bool enable, char* handle, void (*callback)(void)) {
if (enable) {
if (handle != NULL) {
params.handle.handle_val = handle;
- params.handle.handle_len = strlen(handle);
+ params.handle.handle_len = strlen(handle) + 1;
}
interruptcallback = callback;
}