summaryrefslogtreecommitdiff
path: root/libvxi11client/libvxi11client.c
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-13 13:25:38 +0900
committerdaniel <danieruru@gmail.com>2013-01-13 13:25:38 +0900
commit7f2e52e8dbcda238268dd7339ba8c3dce908e252 (patch)
tree56f94b4bd9682a33d790dc7a3a234471e4da4eca /libvxi11client/libvxi11client.c
parent52cc0f0f558190e310c898ec7e616ed2b8306f02 (diff)
fire the interrupt from the right place
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;
}