Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r795 committed - Fix strncat warning

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r795 committed - Fix strncat warning


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r795 committed - Fix strncat warning
  • Date: Mon, 07 Jan 2013 17:51:46 +0000

Revision: 795
Author:

Date: Mon Jan 7 09:51:32 2013
Log: Fix strncat warning
http://code.google.com/p/ndt/source/detail?r=795

Modified:
/trunk/src/web100srv.c

=======================================
--- /trunk/src/web100srv.c Thu Nov 15 13:34:19 2012
+++ /trunk/src/web100srv.c Mon Jan 7 09:51:32 2013
@@ -1404,7 +1404,7 @@
link, mismatch, bad_cable, half_duplex, congestion, c2s_linkspeed_data,
c2s_linkspeed_ack, s2c_linkspeed_data, s2c_linkspeed_ack,
CongestionSignals, PktsOut, MinRTT, RcvWinScale);
- strncat(logstr1, logstr2, sizeof(logstr1));
+ strlcat(logstr1, logstr2, sizeof(logstr1));
syslog(LOG_FACILITY | LOG_INFO, "%s", logstr1);
closelog();
log_println(4, "%s", logstr1);


  • [ndt-dev] [ndt] r795 committed - Fix strncat warning, ndt, 01/07/2013

Archive powered by MHonArc 2.6.16.

Top of Page