diff options
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/clilist.c | 2 | ||||
-rw-r--r-- | source3/libsmb/clistr.c | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c index d0583f4e10..e3f050a822 100644 --- a/source3/libsmb/clilist.c +++ b/source3/libsmb/clilist.c @@ -82,7 +82,7 @@ static size_t interpret_long_filename(TALLOC_CTX *ctx, finfo->mode = CVAL(p,24); len = CVAL(p, 26); p += 27; - p += clistr_align_in(cli, p, 0); + p += align_string(cli->inbuf, p, 0); /* We can safely use len here (which is required by OS/2) * and the NAS-BASIC server instead of +2 or +1 as the diff --git a/source3/libsmb/clistr.c b/source3/libsmb/clistr.c index 00b9bb2483..aeb0bc64c8 100644 --- a/source3/libsmb/clistr.c +++ b/source3/libsmb/clistr.c @@ -90,8 +90,3 @@ size_t clistr_align_out(struct cli_state *cli, const void *p, int flags) { return align_string(cli->outbuf, (const char *)p, flags); } - -size_t clistr_align_in(struct cli_state *cli, const void *p, int flags) -{ - return align_string(cli->inbuf, (const char *)p, flags); -} |