mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Whitespace syncup.
This commit is contained in:
parent
38337ec5ef
commit
8fe5bab565
@ -172,7 +172,7 @@ BOOL claim_connection(connection_struct *conn, const char *name,int max_connecti
|
||||
crec.uid = conn->uid;
|
||||
crec.gid = conn->gid;
|
||||
safe_strcpy(crec.name,
|
||||
lp_servicename(SNUM(conn)),sizeof(crec.name)-1);
|
||||
lp_servicename(SNUM(conn)),sizeof(crec.name)-1);
|
||||
}
|
||||
crec.start = time(NULL);
|
||||
crec.bcast_msg_flags = msg_flags;
|
||||
|
@ -627,8 +627,8 @@ BOOL get_dir_entry(connection_struct *conn,char *mask,int dirtype, pstring fname
|
||||
see masktest for a demo
|
||||
*/
|
||||
if ((strcmp(mask,"*.*") == 0) ||
|
||||
mask_match(filename,mask,False) ||
|
||||
mangle_mask_match(conn,filename,mask)) {
|
||||
mask_match(filename,mask,False) ||
|
||||
mangle_mask_match(conn,filename,mask)) {
|
||||
if (isrootdir && (strequal(filename,"..") || strequal(filename,".")))
|
||||
continue;
|
||||
|
||||
|
@ -138,9 +138,9 @@ void send_trans_reply(char *outbuf,
|
||||
set_message(outbuf,10,1+this_ldata+this_lparam+align,False);
|
||||
|
||||
copy_trans_params_and_data(outbuf, align,
|
||||
rparam, tot_param_sent, this_lparam,
|
||||
rdata, tot_data_sent, this_ldata);
|
||||
|
||||
rparam, tot_param_sent, this_lparam,
|
||||
rdata, tot_data_sent, this_ldata);
|
||||
|
||||
SSVAL(outbuf,smb_vwv3,this_lparam);
|
||||
SSVAL(outbuf,smb_vwv4,smb_offset(smb_buf(outbuf)+1,outbuf));
|
||||
SSVAL(outbuf,smb_vwv5,tot_param_sent);
|
||||
|
@ -762,7 +762,7 @@ connection_struct *make_connection(const char *service_in, DATA_BLOB password,
|
||||
fstring service;
|
||||
fstring dev;
|
||||
int snum = -1;
|
||||
|
||||
|
||||
fstrcpy(dev, pdev);
|
||||
|
||||
/* This must ONLY BE CALLED AS ROOT. As it exits this function as root. */
|
||||
|
Loading…
Reference in New Issue
Block a user