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 } |
|
449 |
439 |
450 // Check ">" and remove text after it if exists |
440 // Check ">" and remove text after it if exists |
451 position = CheckRightBracket( *string ); |
441 position = CheckRightBracket( *string ); |
452 SVPDEBUG2(" CheckRightBracket returns = %d" , position ) |
442 SVPDEBUG2(" CheckRightBracket returns = %d" , position ) |
453 |
443 |
766 SVPDEBUG2( "CSVPTransferStateContext::CheckAuthidentity return: %d", returnValue ) |
756 SVPDEBUG2( "CSVPTransferStateContext::CheckAuthidentity return: %d", returnValue ) |
767 if ( returnValue == KErrNotFound ) |
757 if ( returnValue == KErrNotFound ) |
768 { |
758 { |
769 returnValue = aUri.Find( KSVPAuthidentity2 ); |
759 returnValue = aUri.Find( KSVPAuthidentity2 ); |
770 SVPDEBUG2( "CSVPTransferStateContext::CheckAuthidentity second return: %d", returnValue ) |
760 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 ) |
|
776 } |
761 } |
777 return returnValue; |
762 return returnValue; |
778 } |
763 } |
779 |
764 |
780 // --------------------------------------------------------------------------- |
765 // --------------------------------------------------------------------------- |