The branch, v3-2-test has been updated
       via  c1cdf6085329d55cf29ccc8c980fc853a03a695e (commit)
      from  beae25c808a3a03d645f247e9befcd05e3ecca2c (commit)

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


- Log -----------------------------------------------------------------
commit c1cdf6085329d55cf29ccc8c980fc853a03a695e
Author: Gerald W. Carter <[EMAIL PROTECTED]>
Date:   Tue Jan 29 14:49:38 2008 -0600

    Allow NULL request and/or response pointers to be passed to 
wbcRequestResponse().
    
    This is a valid parameter set for things like setpwent() and ping().

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

Summary of changes:
 source/nsswitch/libwbclient/wbclient.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/libwbclient/wbclient.c 
b/source/nsswitch/libwbclient/wbclient.c
index 42a9943..304e49c 100644
--- a/source/nsswitch/libwbclient/wbclient.c
+++ b/source/nsswitch/libwbclient/wbclient.c
@@ -59,11 +59,7 @@ wbcErr wbcRequestResponse(int cmd,
        wbcErr wbc_status = WBC_ERR_UNKNOWN_FAILURE;
        NSS_STATUS nss_status;
 
-       if (!request || !response) {
-               wbc_status = WBC_ERR_INVALID_PARAM;
-               BAIL_ON_WBC_ERROR(wbc_status);
-       }
-
+       /* for some calls the request and/or response cna be NULL */
 
        nss_status = winbindd_request_response(cmd, request, response);
 


-- 
Samba Shared Repository

Reply via email to