diff options
author | Holger Hetterich <hhetter@novell.com> | 2010-02-07 20:39:58 +0100 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2010-03-16 09:52:10 -0400 |
commit | f6ae16e318145224cc38180628e542bb3fc6bb8c (patch) | |
tree | 271c5520befbea99af32d4b8be9fa06ba7361648 /source3/printing/tests | |
parent | 002193d34bc9ff385a866af2d39ed713a5bef1bf (diff) | |
download | samba-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 'source3/printing/tests')
0 files changed, 0 insertions, 0 deletions