diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-03-18 10:42:41 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-03-18 10:42:41 +0000 |
commit | b01a915b64560ee8acf957f91abed4687a93dcba (patch) | |
tree | 4754b4c0a5ac61aa9cb5cbe24a43728a943af31e | |
parent | cdc6fc8acb24645ccd0f2862741c9ea9e1c02829 (diff) | |
download | samba-b01a915b64560ee8acf957f91abed4687a93dcba.tar.gz samba-b01a915b64560ee8acf957f91abed4687a93dcba.tar.bz2 samba-b01a915b64560ee8acf957f91abed4687a93dcba.zip |
Merge whitespace to match HEAD.
(This used to be commit 454fb434195b8d46cbcbaee6a200070e5bcd7364)
-rw-r--r-- | source3/smbd/trans2.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 5d85cae907..4129852f77 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -1183,25 +1183,25 @@ resume_key = %d resume name = %s continue=%d level = %d\n", SeekDir(dirptr, current_pos); dname = ReadDirName(dirptr); if (dname) { - /* - * Remember, mangle_map is called by - * get_lanman2_dir_entry(), so the resume name - * could be mangled. Ensure we do the same - * here. - */ - + /* + * Remember, mangle_map is called by + * get_lanman2_dir_entry(), so the resume name + * could be mangled. Ensure we do the same + * here. + */ + /* make sure we get a copy that mangle_map can modify */ pstrcpy(dname_pstring, dname); mangle_map( dname_pstring, False, True, SNUM(conn)); - + if(strcsequal( resume_name, dname_pstring)) { - SeekDir(dirptr, current_pos+1); - DEBUG(7,("call_trans2findnext: got match at pos %d\n", current_pos+1 )); - break; + SeekDir(dirptr, current_pos+1); + DEBUG(7,("call_trans2findnext: got match at pos %d\n", current_pos+1 )); + break; + } } } - } /* * Scan forward from start if not found going backwards. @@ -1221,15 +1221,15 @@ resume_key = %d resume name = %s continue=%d level = %d\n", if(dname) { /* make sure we get a copy that mangle_map can modify */ - + pstrcpy(dname_pstring, dname); mangle_map(dname_pstring, False, True, SNUM(conn)); if(strcsequal( resume_name, dname_pstring)) { - SeekDir(dirptr, current_pos+1); - DEBUG(7,("call_trans2findnext: got match at pos %d\n", current_pos+1 )); - break; - } + SeekDir(dirptr, current_pos+1); + DEBUG(7,("call_trans2findnext: got match at pos %d\n", current_pos+1 )); + break; + } } } /* end for */ } /* end if current_pos */ |