[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4259-g2d06384

Jeremy Allison jra at samba.org
Mon Oct 13 21:15:16 GMT 2008


The branch, v3-3-test has been updated
       via  2d063842365341ecbbbf0413e9870b1680d2e138 (commit)
      from  84355feee9a718e8ffe854df1129461d65d114dc (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 2d063842365341ecbbbf0413e9870b1680d2e138
Author: Jeremy Allison <jra at samba.org>
Date:   Mon Oct 13 14:13:20 2008 -0700

     Whitespace tidyup and an optimization to remove a talloc.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/modules/vfs_smb_traffic_analyzer.c |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/modules/vfs_smb_traffic_analyzer.c b/source/modules/vfs_smb_traffic_analyzer.c
index be77fc4..9456afb 100644
--- a/source/modules/vfs_smb_traffic_analyzer.c
+++ b/source/modules/vfs_smb_traffic_analyzer.c
@@ -182,24 +182,22 @@ static void smb_traffic_analyzer_send_data(vfs_handle_struct *handle,
 	seconds=(float) (tv.tv_usec / 1000);
 
 	/* check if anonymization is required */
-	
+
 	anon_prefix=lp_parm_const_string(SNUM(handle->conn),"smb_traffic_analyzer",\
 					"anonymize_prefix", NULL );
 	if (anon_prefix!=NULL) {
 		username = talloc_asprintf(talloc_tos(),
 			"%s%i",
 			anon_prefix,
-			str_checksum(			
+			str_checksum(
 				handle->conn->server_info->sanitized_username )	); 
 	} else {
-		username = talloc_asprintf(talloc_tos(),
-			"%s",
-			handle->conn->server_info->sanitized_username);
-	}		
+		username = handle->conn->server_info->sanitized_username;
+	}
 
 	if (!username) {
 		return;
-	}					
+	}
 
 	str = talloc_asprintf(talloc_tos(),
 			"V1,%u,\"%s\",\"%s\",\"%c\",\"%s\",\"%s\","


-- 
Samba Shared Repository


More information about the samba-cvs mailing list