aboutsummaryrefslogtreecommitdiffstats
path: root/tbl_qcmd.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-10-29 15:44:42 +0000
committerFreeArtMan <dos21h@gmail.com>2017-10-29 15:44:42 +0000
commitbb57317f22b94970d78a97915763b0dbe1d7742d (patch)
tree92982a2bd0b179c8b147deacb4f8ad505c1b2aee /tbl_qcmd.c
parentbed9bfcdf6b7740cc32ccf260f024e7c0a4e7503 (diff)
downloadagni-bb57317f22b94970d78a97915763b0dbe1d7742d.tar.gz
agni-bb57317f22b94970d78a97915763b0dbe1d7742d.zip
Make rpc and todo command working, with sqlite shitz
Diffstat (limited to 'tbl_qcmd.c')
-rw-r--r--tbl_qcmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tbl_qcmd.c b/tbl_qcmd.c
index d8bfc79..4db8344 100644
--- a/tbl_qcmd.c
+++ b/tbl_qcmd.c
@@ -162,10 +162,11 @@ int tbl_exec_run(tbl_exec *tbl, char *cmd, char *user, char *mask, char *server,
if (mask != NULL)
{
PRINT("%s mask\n", mask);
- req->mask = alloc_new_str("asd!!");
+ req->mask = alloc_new_str(mask);
}
if (server != NULL)
{
+ PRINT("%s server\n", server);
req->server = alloc_new_str(server);
}
rpc_call_req_marsh(req, &nb_req);