Hi Al, On 10:04 Wed 13 Aug , Al Chu wrote: > From c94d427feb3f8ca9f7b339dab618e61b04c41914 Mon Sep 17 00:00:00 2001 > From: Albert Chu <[EMAIL PROTECTED]> > Date: Wed, 13 Aug 2008 09:54:43 -0700 > Subject: [PATCH] initialize netstarted to 0 > > > Signed-off-by: Albert Chu <[EMAIL PROTECTED]> > --- > ibsim/sim_cmd.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/ibsim/sim_cmd.c b/ibsim/sim_cmd.c > index 6bf1e29..e4591d1 100644 > --- a/ibsim/sim_cmd.c > +++ b/ibsim/sim_cmd.c > @@ -752,7 +752,7 @@ static int do_disconnect_client(FILE * out, int id) > return 0; > } > > -int netstarted; > +int netstarted = 0;
It is global variable, should be initialized by default. Sasha _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
