Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r986 committed - Fixed c2s_ndttrace file entry in meta results

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r986 committed - Fixed c2s_ndttrace file entry in meta results


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r986 committed - Fixed c2s_ndttrace file entry in meta results
  • Date: Mon, 10 Mar 2014 11:34:51 +0000

Revision: 986
Author:

Date: Mon Mar 10 11:34:32 2014 UTC
Log: Fixed c2s_ndttrace file entry in meta results

http://code.google.com/p/ndt/source/detail?r=986

Modified:
/branches/Issue93/src/test_c2s_srv.c

=======================================
--- /branches/Issue93/src/test_c2s_srv.c Mon Oct 14 13:20:21 2013 UTC
+++ /branches/Issue93/src/test_c2s_srv.c Mon Mar 10 11:34:32 2014 UTC
@@ -294,7 +294,9 @@
continue;
break;
}
- memcpy(meta.c2s_ndttrace, tmpstr, strlen(tmpstr));
+
+ if (strlen(tmpstr) > 5)
+ memcpy(meta.c2s_ndttrace, tmpstr, strlen(tmpstr));
// name of nettrace file passed back from pcap child
log_println(3, "--tracefile after packet_trace %s",
meta.c2s_ndttrace);


  • [ndt-dev] [ndt] r986 committed - Fixed c2s_ndttrace file entry in meta results, ndt, 03/10/2014

Archive powered by MHonArc 2.6.16.

Top of Page