From: Zdeněk Salvet Date: Wed, 23 Aug 2006 13:29:47 +0000 (+0000) Subject: Use correct operator for negation (readnew). X-Git-Tag: glite-jp-client_R_1_1_2~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=9dca342dce177b49d10dd486b28520cf8401aef6;p=jra1mw.git Use correct operator for negation (readnew). --- diff --git a/org.glite.jp.client/src/jpimporter.c b/org.glite.jp.client/src/jpimporter.c index 98180fe..e3bde1e 100644 --- a/org.glite.jp.client/src/jpimporter.c +++ b/org.glite.jp.client/src/jpimporter.c @@ -432,11 +432,11 @@ static int dump_importer(void) if ( readnew ) ret = edg_wll_MaildirTransStart(dump_mdir, &msg, &fname); else ret = edg_wll_MaildirRetryTransStart(dump_mdir, (time_t)60, &msg, &fname); if ( !ret ) { - readnew = ~readnew; + readnew = !readnew; if ( readnew ) ret = edg_wll_MaildirTransStart(dump_mdir, &msg, &fname); else ret = edg_wll_MaildirRetryTransStart(dump_mdir, (time_t)60, &msg, &fname); if ( !ret ) { - readnew = ~readnew; + readnew = !readnew; return 0; } }