aboutsummaryrefslogtreecommitdiffstats
path: root/tbl_qcmd.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-10-01 14:41:43 +0100
committerFreeArtMan <dos21h@gmail.com>2017-10-01 14:41:43 +0100
commitcd09b06adb30135f55909c02840c339422217d95 (patch)
treecdb3764ce7fe59df55c4fec68b4ab8dd667fec61 /tbl_qcmd.c
parent512f057166af84c11fc7ed5e4768b9dd2fe9f590 (diff)
downloadagni-cd09b06adb30135f55909c02840c339422217d95.tar.gz
agni-cd09b06adb30135f55909c02840c339422217d95.zip
Fixed warnings all over the places
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)
{