diff options
author | Jeremy Allison <jra@samba.org> | 2001-07-02 00:33:15 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-07-02 00:33:15 +0000 |
commit | 15c64199cb29e2fca6ee7353673dbb3f962e0e24 (patch) | |
tree | c95b1b1dc0181031ef12b9eaf3f79636d7f4412f /source/libsmb/clifile.c | |
parent | db36ed1d80fcbee16d0a0b5f226e56961f3bf1ec (diff) | |
download | samba-15c64199cb29e2fca6ee7353673dbb3f962e0e24.tar.gz samba-15c64199cb29e2fca6ee7353673dbb3f962e0e24.tar.xz samba-15c64199cb29e2fca6ee7353673dbb3f962e0e24.zip |
Insure caught the fact that PTRDIFFs were being done between two unrelated
pointers.
Jeremy.
Diffstat (limited to 'source/libsmb/clifile.c')
-rw-r--r-- | source/libsmb/clifile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clifile.c b/source/libsmb/clifile.c index 42454b306f4..2c4eef9bbe1 100644 --- a/source/libsmb/clifile.c +++ b/source/libsmb/clifile.c @@ -243,7 +243,7 @@ int cli_nt_create_full(struct cli_state *cli, char *fname, uint32 DesiredAccess, p = smb_buf(cli->outbuf); /* this alignment and termination is critical for netapp filers. Don't change */ - p += clistr_align(cli, p, STR_CONVERT); + p += clistr_align_out(cli, p, STR_CONVERT); len = clistr_push(cli, p, fname, -1, STR_CONVERT); p += len; SSVAL(cli->outbuf,smb_ntcreate_NameLength, len); |