summaryrefslogtreecommitdiff
path: root/tbl_qcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tbl_qcmd.c')
-rw-r--r--tbl_qcmd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tbl_qcmd.c b/tbl_qcmd.c
index f56dbc4..d8bfc79 100644
--- a/tbl_qcmd.c
+++ b/tbl_qcmd.c
@@ -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)
{