equal
deleted
inserted
replaced
434 { |
434 { |
435 TakeReplacesTxt( string, position ); |
435 TakeReplacesTxt( string, position ); |
436 CleanupStack::Pop( 1 ); // string, ReAlloc possible |
436 CleanupStack::Pop( 1 ); // string, ReAlloc possible |
437 CleanupStack::PushL( string ); |
437 CleanupStack::PushL( string ); |
438 } |
438 } |
|
439 // Check "?X-Sipx-Authidentity=" and remove text after it if exists |
|
440 position = CheckAuthidentity( *string ); |
|
441 |
|
442 if ( KErrNotFound != position ) |
|
443 { |
|
444 // "?X-Sipx-Authidentity=" found |
|
445 CutStringFromPosition( string, position ); |
|
446 CleanupStack::Pop( 1 ); // string, ReAlloc possible |
|
447 CleanupStack::PushL( string ); |
|
448 } |
439 |
449 |
440 // Check ">" and remove text after it if exists |
450 // Check ">" and remove text after it if exists |
441 position = CheckRightBracket( *string ); |
451 position = CheckRightBracket( *string ); |
442 SVPDEBUG2(" CheckRightBracket returns = %d" , position ) |
452 SVPDEBUG2(" CheckRightBracket returns = %d" , position ) |
443 |
453 |
756 SVPDEBUG2( "CSVPTransferStateContext::CheckAuthidentity return: %d", returnValue ) |
766 SVPDEBUG2( "CSVPTransferStateContext::CheckAuthidentity return: %d", returnValue ) |
757 if ( returnValue == KErrNotFound ) |
767 if ( returnValue == KErrNotFound ) |
758 { |
768 { |
759 returnValue = aUri.Find( KSVPAuthidentity2 ); |
769 returnValue = aUri.Find( KSVPAuthidentity2 ); |
760 SVPDEBUG2( "CSVPTransferStateContext::CheckAuthidentity second return: %d", returnValue ) |
770 SVPDEBUG2( "CSVPTransferStateContext::CheckAuthidentity second return: %d", returnValue ) |
|
771 } |
|
772 if ( returnValue == KErrNotFound ) |
|
773 { |
|
774 returnValue = aUri.Find( KSVPAuthidentity3 ); |
|
775 SVPDEBUG2( "CSVPTransferStateContext::CheckAuthidentity third return: %d", returnValue ) |
761 } |
776 } |
762 return returnValue; |
777 return returnValue; |
763 } |
778 } |
764 |
779 |
765 // --------------------------------------------------------------------------- |
780 // --------------------------------------------------------------------------- |