[netperf-dev] netperf2 commit notice r544 - trunk/src

raj at netperf.org raj at netperf.org
Fri Mar 23 17:00:39 PDT 2012


Author: raj
Date: 2012-03-23 17:00:38 -0700 (Fri, 23 Mar 2012)
New Revision: 544

Modified:
   trunk/src/nettest_omni.c
Log:
ifdef out the old my_snprintf code for the time being

Modified: trunk/src/nettest_omni.c
===================================================================
--- trunk/src/nettest_omni.c	2012-03-23 23:50:29 UTC (rev 543)
+++ trunk/src/nettest_omni.c	2012-03-24 00:00:38 UTC (rev 544)
@@ -2315,6 +2315,7 @@
 
 }
 
+#ifdef notdef
 /* why? because one cannot simply pass a pointer to snprintf :) for
    our nefarious porpoises, we only expect to handle single-value
    format statements, not a full-blown format */
@@ -2386,7 +2387,10 @@
     }
   return -1;
 }
+#endif /* notdef */
 
+/* why? because one cannot simply pass a pointer to snprintf - well
+   except when it is expecting one... */
 int
 my_snprintf(char *buffer, size_t size, netperf_output_elt_t *output_elt)
 {



More information about the netperf-dev mailing list