summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-09-29 12:26:40 +0000
committerSimo Sorce <idra@samba.org>2001-09-29 12:26:40 +0000
commit14cc9a3101f7ec88fa464f934e3dc2c081eccf8a (patch)
treeb1e86fdd36b2b3cd46f94a0a64d37fc40162a80c /source3/rpcclient
parentd25c2b146b1581ef2a141ecbc04579b792b4c4dc (diff)
downloadsamba-14cc9a3101f7ec88fa464f934e3dc2c081eccf8a.tar.gz
samba-14cc9a3101f7ec88fa464f934e3dc2c081eccf8a.tar.bz2
samba-14cc9a3101f7ec88fa464f934e3dc2c081eccf8a.zip
return NT_STATUS_NO_MEMORY istead of NT_STATUS_OK if we are out of memory.
(This used to be commit d38bc1dceccaa4cbdaf3ac4d561225229161714a)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c2
1 files changed, 1 insertions, 1 deletions
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;