diff options
author | Tim Potter <tpot@samba.org> | 2003-04-14 03:48:26 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-04-14 03:48:26 +0000 |
commit | bdb7a74419356f4b6064d928636c8f295e8b7230 (patch) | |
tree | 543429d05dabb49f3c22af53fe78370ecb6e09c5 /source3 | |
parent | c967d21ca75bd7b788aeec52dabe0c02faef342a (diff) | |
download | samba-bdb7a74419356f4b6064d928636c8f295e8b7230.tar.gz samba-bdb7a74419356f4b6064d928636c8f295e8b7230.tar.xz samba-bdb7a74419356f4b6064d928636c8f295e8b7230.zip |
Whitespace syncup.
(This used to be commit 8fe5bab565cdcf498e4d0f5cca31f799d249e3b3)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/connection.c | 2 | ||||
-rw-r--r-- | source3/smbd/dir.c | 4 | ||||
-rw-r--r-- | source3/smbd/ipc.c | 6 | ||||
-rw-r--r-- | source3/smbd/service.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index 17b5be8a7b..5547309a81 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -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; diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 3f29ac892c..6cf56fd373 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -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; diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c index c4a12ab531..85e28f5d17 100644 --- a/source3/smbd/ipc.c +++ b/source3/smbd/ipc.c @@ -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); diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 67eea806c4..18a92bc82f 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -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. */ |