summaryrefslogtreecommitdiff
path: root/swat2
diff options
context:
space:
mode:
authorHolger Hetterich <hhetter@novell.com>2010-02-07 20:39:58 +0100
committerJim McDonough <jmcd@samba.org>2010-03-16 09:52:10 -0400
commitf6ae16e318145224cc38180628e542bb3fc6bb8c (patch)
tree271c5520befbea99af32d4b8be9fa06ba7361648 /swat2
parent002193d34bc9ff385a866af2d39ed713a5bef1bf (diff)
downloadsamba-f6ae16e318145224cc38180628e542bb3fc6bb8c.tar.gz
samba-f6ae16e318145224cc38180628e542bb3fc6bb8c.tar.bz2
samba-f6ae16e318145224cc38180628e542bb3fc6bb8c.zip
smb_traffic_analyzer.c: optimize marshalling function and document
Collect all data that is needed, and use only one talloc_asprintf operation to create the string of common data. This simplifies the code a bit and is most probably faster than the old method. Also, #define SMBTA_COMMON_DATA_COUNT as a complete string, speeding things up because we know the value at compile time.
Diffstat (limited to 'swat2')
0 files changed, 0 insertions, 0 deletions