Comment 10 for bug 732693

Revision history for this message
jmfischer (jmfischer) wrote :

Hi Ronald commit it like this: I think it's okay if the traceline stays there commented out, kind of comment :)

if( prevrouteids != NULL) {
          /*TraceOp.trc( name, TRCLEVEL_WARNING, __LINE__, 9999, "IDS length %d", StrOp.len(prevrouteids) );*/
          iOStrTok tok = StrTokOp.inst( prevrouteids, ',' );
          // check if id is allready in the list
          Boolean isInList = False;
          while ( StrTokOp.hasMoreTokens( tok )) {
            const char * token = StrTokOp.nextToken( tok );
            if( StrOp.equals( token, wRoute.getid( newRoute))) {
              isInList = True;
            }
          }

          if( !isInList && doIt && StrOp.len(prevrouteids) < 4000 ) {