diff options
author | Simo Sorce <idra@samba.org> | 2001-09-29 12:26:40 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-09-29 12:26:40 +0000 |
commit | 14cc9a3101f7ec88fa464f934e3dc2c081eccf8a (patch) | |
tree | b1e86fdd36b2b3cd46f94a0a64d37fc40162a80c | |
parent | d25c2b146b1581ef2a141ecbc04579b792b4c4dc (diff) | |
download | samba-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)
-rw-r--r-- | source3/rpcclient/rpcclient.c | 2 |
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; |