[netperf-dev] netperf2 commit notice r324 - trunk/src
raj at netperf.org
raj at netperf.org
Mon Sep 28 10:30:52 PDT 2009
Author: raj
Date: 2009-09-28 10:30:51 -0700 (Mon, 28 Sep 2009)
New Revision: 324
Modified:
trunk/src/netslot_linux.c
Log:
more jose compilation cleanups
Modified: trunk/src/netslot_linux.c
===================================================================
--- trunk/src/netslot_linux.c 2009-09-15 17:45:33 UTC (rev 323)
+++ trunk/src/netslot_linux.c 2009-09-28 17:30:51 UTC (rev 324)
@@ -17,7 +17,7 @@
FILE *address_file;
char *myfpath;
char *this_tok;
- char *last_tok;
+ char *last_tok = NULL;
/* so, are we at a point in the tree where the basename is
"address" ? */
@@ -69,7 +69,8 @@
{
char *myfpath;
char *this_tok;
- char *last_tok;
+ char *last_tok = NULL;
+
if (strcmp(interface_match,fpath + ftwbuf->base) == 0) {
myfpath = strdup(fpath);
if (myfpath == NULL) {
More information about the netperf-dev
mailing list