summaryrefslogtreecommitdiffstats
path: root/source/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-04-11 19:44:54 +0000
committerJeremy Allison <jra@samba.org>2000-04-11 19:44:54 +0000
commit491eea8a20bf80d426625479326211dc975857a6 (patch)
treeb6584d30ade1a6603680e52b2352a58a36e42060 /source/libsmb
parent04bee56160d95cdf971dd2e2c05e1b7482e0fbe9 (diff)
downloadsamba-491eea8a20bf80d426625479326211dc975857a6.tar.gz
samba-491eea8a20bf80d426625479326211dc975857a6.tar.xz
samba-491eea8a20bf80d426625479326211dc975857a6.zip
include/byteorder.h: ALIGN4/ALIGN2 macros.
include/includes.h: Added SMB_BIG_UINT_BITS. lib/util.c: Removed align2/align4 - use macros. libsmb/namequery.c: Use ALIGN2. locking/locking.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. Needed to move to hiding POSIX locks at a lower layer. nmbd/nmbd_processlogon.c: Use ALIGN2/ALIGN4 macros. smbd/blocking.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. smbd/reply.c: Replace do_lock, do_unlock, args with SMB_BIG_UINT, not SMB_OFF_T. Jeremy.
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/namequery.c b/source/libsmb/namequery.c
index 290a91f7b5c..500a2ff94f9 100644
--- a/source/libsmb/namequery.c
+++ b/source/libsmb/namequery.c
@@ -758,7 +758,7 @@ BOOL lookup_pdc_name(const char *srcname, const char *domain, struct in_addr *pd
slprintf(bufp, sizeof(fstring), "\\MAILSLOT\\NET\\GETDC%d", dgm_id);
mailslot_name = bufp;
bufp += (strlen(bufp) + 1);
- bufp = align2(bufp, buffer);
+ bufp = ALIGN2(bufp, buffer);
bufp += dos_PutUniCode(bufp, srcname, sizeof(buffer) - (bufp - buffer) - 1, True);
SIVAL(bufp,0,1);
SSVAL(bufp,4,0xFFFF);