The branch, v3-2-test has been updated
       via  40712b9ab1e915d405db45e2f18c72a9957158a9 (commit)
      from  a3c79bd8d09262257cf8c025753332fb639fc09e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 40712b9ab1e915d405db45e2f18c72a9957158a9
Author: Günther Deschner <[EMAIL PROTECTED]>
Date:   Tue Nov 18 23:10:22 2008 +0100

    Fix Bug #5898. ("net rpc shutdown" fails).
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source/utils/net_rpc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c
index ef1ebd3..945ca38 100644
--- a/source/utils/net_rpc.c
+++ b/source/utils/net_rpc.c
@@ -5201,7 +5201,7 @@ NTSTATUS rpc_init_shutdown_internals(const DOM_SID 
*domain_sid,
        struct initshutdown_String msg_string;
        struct initshutdown_String_sub s;
 
-       if (opt_comment) {
+       if (opt_comment && strlen(opt_comment)) {
                msg = opt_comment;
        }
        if (opt_timeout) {
@@ -5255,7 +5255,7 @@ NTSTATUS rpc_reg_shutdown_internals(const DOM_SID 
*domain_sid,
        NTSTATUS result;
        WERROR werr;
 
-       if (opt_comment) {
+       if (opt_comment && strlen(opt_comment)) {
                msg = opt_comment;
        }
        s.name = msg;


-- 
Samba Shared Repository

Reply via email to