diff options
Diffstat (limited to 'libvxi11client/client.c')
-rw-r--r-- | libvxi11client/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvxi11client/client.c b/libvxi11client/client.c index f0d9629..d9bb107 100644 --- a/libvxi11client/client.c +++ b/libvxi11client/client.c @@ -172,7 +172,8 @@ int main(int argc, char *argv[]) { printf("\n"); // docmd - if ((err = vxi11_docmd(&ctx, 0x00, false)) > 0) + int dataoutlen; + if ((err = vxi11_docmd(&ctx, NULL, 0, NULL, 0, &dataoutlen, 0x00, false)) > 0) printf("did command, should fail!\n"); else printf("Error calling docmd; %s\n", geterrorstring(err)); |