Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Process commands from the client.
****************************************************************************/
-static int process(const char *base_directory)
+static int process(TALLOC_CTX *mem_ctx, const char *base_directory)
{
int rc = 0;
NTSTATUS status;
rc = do_host_query(lp_ctx, qhost);
} else if (message) {
rc = do_message_op(creds);
- } else if (process(base_directory)) {
+ } else if (process(frame, base_directory)) {
rc = 1;
}