diff options
author | Jeremy Allison <jra@samba.org> | 2001-09-24 21:53:34 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-09-24 21:53:34 +0000 |
commit | fe1950562d6ea748da8255425e2b10c608ee1604 (patch) | |
tree | 79af316d3fc4a6bccc483d73bb7049f28b97f76b /source3/libsmb | |
parent | 14403d5e8acc5ad65ad682186701cca0e5a128c8 (diff) | |
download | samba-fe1950562d6ea748da8255425e2b10c608ee1604.tar.gz samba-fe1950562d6ea748da8255425e2b10c608ee1604.tar.bz2 samba-fe1950562d6ea748da8255425e2b10c608ee1604.zip |
Removed extra '()' s.
Jeremy.
(This used to be commit b5f4a97bb028394f56c904dbb8e12827cb99e785)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/credentials.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/source3/libsmb/credentials.c b/source3/libsmb/credentials.c index 26d5c13bc9..d4c8792068 100644 --- a/source3/libsmb/credentials.c +++ b/source3/libsmb/credentials.c @@ -156,8 +156,8 @@ BOOL clnt_deal_with_creds(uchar sess_key[8], new_clnt_time.time = sto_clnt_cred->timestamp.time + 1; /* check that the received server credentials are valid */ - if (!cred_assert(&(rcv_srv_cred->challenge), sess_key, - &(sto_clnt_cred->challenge), new_clnt_time)) + if (!cred_assert(&rcv_srv_cred->challenge, sess_key, + &sto_clnt_cred->challenge, new_clnt_time)) { return False; } @@ -187,8 +187,8 @@ BOOL deal_with_creds(uchar sess_key[8], DEBUG(5,("deal_with_creds: %d\n", __LINE__)); /* check that the received client credentials are valid */ - if (!cred_assert(&(rcv_clnt_cred->challenge), sess_key, - &(sto_clnt_cred->challenge), rcv_clnt_cred->timestamp)) + if (!cred_assert(&rcv_clnt_cred->challenge, sess_key, + &sto_clnt_cred->challenge, rcv_clnt_cred->timestamp)) { return False; } @@ -208,8 +208,8 @@ BOOL deal_with_creds(uchar sess_key[8], DEBUG(5,("deal_with_creds: new_clnt_time=%x\n", new_clnt_time.time)); /* create return credentials for inclusion in the reply */ - cred_create(sess_key, &(sto_clnt_cred->challenge), new_clnt_time, - &(rtn_srv_cred->challenge)); + cred_create(sess_key, &sto_clnt_cred->challenge, new_clnt_time, + &rtn_srv_cred->challenge); DEBUG(5,("deal_with_creds: clnt_cred=%s\n", credstr(sto_clnt_cred->challenge.data))); @@ -218,5 +218,3 @@ BOOL deal_with_creds(uchar sess_key[8], return True; } - - |