summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-14 17:38:29 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-14 17:38:29 +0000
commitc7ee025ead4a85b6fa44a832047b878451845fb6 (patch)
treeb57a953262c85164d9cf451756555043935ce6ee /source/libsmb
parent6f9228b01131d0fad464971297393ccb8a15703f (diff)
downloadsamba-c7ee025ead4a85b6fa44a832047b878451845fb6.tar.gz
samba-c7ee025ead4a85b6fa44a832047b878451845fb6.tar.xz
samba-c7ee025ead4a85b6fa44a832047b878451845fb6.zip
this is the bug change to using connection_struct* instead of cnum.
Connections[] is now a local array in server.c I might have broken something with this change. In particular the oplock code is suspect and some .dll files aren't being oplocked when I expected them to be. I'll look at it after I've got some sleep.
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/credentials.c6
-rw-r--r--source/libsmb/nmblib.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/source/libsmb/credentials.c b/source/libsmb/credentials.c
index c9f7ee429ba..26d5c13bc9a 100644
--- a/source/libsmb/credentials.c
+++ b/source/libsmb/credentials.c
@@ -96,7 +96,7 @@ void cred_create(uchar session_key[8], DOM_CHAL *stor_cred, UTIME timestamp,
DEBUG(5,(" sess_key : %s\n", credstr(session_key)));
DEBUG(5,(" stor_cred: %s\n", credstr(stor_cred->data)));
- DEBUG(5,(" timestamp: %lx\n" , timestamp.time));
+ DEBUG(5,(" timestamp: %x\n" , timestamp.time));
DEBUG(5,(" timecred : %s\n", credstr(time_cred.data)));
DEBUG(5,(" calc_cred: %s\n", credstr(cred->data)));
}
@@ -200,12 +200,12 @@ BOOL deal_with_creds(uchar sess_key[8],
new_cred = IVAL(sto_clnt_cred->challenge.data, 0);
new_cred += new_clnt_time.time;
- DEBUG(5,("deal_with_creds: new_cred[0]=%lx\n", new_cred));
+ DEBUG(5,("deal_with_creds: new_cred[0]=%x\n", new_cred));
/* doesn't matter that server time is 0 */
rtn_srv_cred->timestamp.time = 0;
- DEBUG(5,("deal_with_creds: new_clnt_time=%lx\n", new_clnt_time.time));
+ 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,
diff --git a/source/libsmb/nmblib.c b/source/libsmb/nmblib.c
index 9c7a606a262..c887ff55de7 100644
--- a/source/libsmb/nmblib.c
+++ b/source/libsmb/nmblib.c
@@ -90,7 +90,7 @@ static void debug_nmb_res_rec(struct res_rec *res, char *hdr)
DEBUGADD(4, ("%c", x));
}
- DEBUGADD(4, (" hex ", i));
+ DEBUGADD(4, (" hex "));
for (j = 0; j < 16; j++)
{