diff options
author | Jeremy Allison <jra@samba.org> | 2012-02-24 17:12:52 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-02-24 17:12:52 -0800 |
commit | e54cf1538752fcb38fd9ce84345520c4d0001474 (patch) | |
tree | bb8825cbf338960fa11abb701d65bfd2f6bd3d24 /source3/smbd/trans2.c | |
parent | c9ef08772214f1eab545b7ca5e0cb5bdbf8dd6ce (diff) | |
download | samba-e54cf1538752fcb38fd9ce84345520c4d0001474.tar.gz samba-e54cf1538752fcb38fd9ce84345520c4d0001474.tar.bz2 samba-e54cf1538752fcb38fd9ce84345520c4d0001474.zip |
Make dptr_path() and dptr_wcard() const.
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r-- | source3/smbd/trans2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index d2eff4d8f5..5ee02c4278 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -2773,14 +2773,12 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd directory = dptr_path(sconn, dptr_num); /* Get the wildcard mask from the dptr */ - if((p = dptr_wcard(sconn, dptr_num))== NULL) { + if((mask = dptr_wcard(sconn, dptr_num))== NULL) { DEBUG(2,("dptr_num %d has no wildcard\n", dptr_num)); reply_nterror(req, STATUS_NO_MORE_FILES); return; } - mask = p; - /* Get the attr mask from the dptr */ dirtype = dptr_attr(sconn, dptr_num); |