From 14cc9a3101f7ec88fa464f934e3dc2c081eccf8a Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 29 Sep 2001 12:26:40 +0000 Subject: return NT_STATUS_NO_MEMORY istead of NT_STATUS_OK if we are out of memory. (This used to be commit d38bc1dceccaa4cbdaf3ac4d561225229161714a) --- source3/rpcclient/rpcclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 186cc130d4..310acd3c32 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -432,7 +432,7 @@ static NTSTATUS do_cmd(struct cli_state *cli, struct cmd_set *cmd_entry, char *c if (!argv) { fprintf(stderr, "out of memory\n"); - return NT_STATUS_OK; + return NT_STATUS_NO_MEMORY; } p = cmd; -- cgit