diff options
Diffstat (limited to 'tbl_qcmd.c')
-rw-r--r-- | tbl_qcmd.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -152,15 +152,17 @@ int tbl_exec_run(tbl_exec *tbl, char *cmd, char *user, char *mask, char *server, nb_init(nb_req); //create request - req = rpc_call_req_new(el->name, "asd", 1); + req = rpc_call_req_new(el->name, cmd, 1); if (!req) PERM(); if (user != NULL) { + PRINT("%s user\n", user); req->user = alloc_new_str(user); } if (mask != NULL) { - req->mask = alloc_new_str(mask); + PRINT("%s mask\n", mask); + req->mask = alloc_new_str("asd!!"); } if (server != NULL) { |