diff options
author | Holger Hetterich <hhetter@novell.com> | 2010-05-23 23:18:58 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2010-05-27 10:27:07 +0200 |
commit | dd895e526c4751865c587819d9e958c8fce9190b (patch) | |
tree | ac561f6b4de4eca9960af8c3834882dfd808acf2 /source3 | |
parent | 85a385324958c41ac9c017421b35db1eeabed87c (diff) | |
download | samba-dd895e526c4751865c587819d9e958c8fce9190b.tar.gz samba-dd895e526c4751865c587819d9e958c8fce9190b.tar.bz2 samba-dd895e526c4751865c587819d9e958c8fce9190b.zip |
vfs_smb_traffic_analyzer.c: set the len variable when running protocol v1.
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_smb_traffic_analyzer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_smb_traffic_analyzer.c b/source3/modules/vfs_smb_traffic_analyzer.c index dcb01994c3..75450c79df 100644 --- a/source3/modules/vfs_smb_traffic_analyzer.c +++ b/source3/modules/vfs_smb_traffic_analyzer.c @@ -471,6 +471,7 @@ static void smb_traffic_analyzer_send_data(vfs_handle_struct *handle, tm->tm_min, tm->tm_sec, (int)seconds); + len = strlen(str); if (write_data(rf_sock->sock, str, len) != len) { DEBUG(1, ("smb_traffic_analyzer_send_data_socket: " "error sending V1 protocol data to socket!\n")); |