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 ) {
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) );*/ hasMoreTokens( tok )) {
isInList = True;
iOStrTok tok = StrTokOp.inst( prevrouteids, ',' );
// check if id is allready in the list
Boolean isInList = False;
while ( StrTokOp.
const char * token = StrTokOp.nextToken( tok );
if( StrOp.equals( token, wRoute.getid( newRoute))) {
}
}
if( !isInList && doIt && StrOp.len( prevrouteids) < 4000 ) {