equal
deleted
inserted
replaced
853 { |
853 { |
854 iEndIndex = KErrNotFound; |
854 iEndIndex = KErrNotFound; |
855 FTRACE(FPrint( _L("CDunAtCmdHandler::ExtractLineFromInputBuffer() (more needed) complete") )); |
855 FTRACE(FPrint( _L("CDunAtCmdHandler::ExtractLineFromInputBuffer() (more needed) complete") )); |
856 return ETrue; |
856 return ETrue; |
857 } |
857 } |
858 // As a last step adjust the possible multiple IsDelimiterCharacter() |
|
859 // characters and set length of iLineBuffer. Leave iEndIndex untouched. |
|
860 lineLength = iLineBuffer.Length(); |
|
861 for ( TInt i=lineLength-1; i>=0; i-- ) |
|
862 { |
|
863 TChar character = iLineBuffer[i]; |
|
864 if ( !IsDelimiterCharacter(character) ) |
|
865 { |
|
866 iLineBuffer.SetLength( i + 1 ); |
|
867 FTRACE(FPrint( _L("CDunAtCmdHandler::ExtractLineFromInputBuffer() after (%d bytes):"), iLineBuffer.Length() )); |
|
868 FTRACE(FPrintRaw(iLineBuffer) ); |
|
869 break; |
|
870 } |
|
871 } |
|
872 FTRACE(FPrint( _L("CDunAtCmdHandler::ExtractLineFromInputBuffer() (line found) complete") )); |
858 FTRACE(FPrint( _L("CDunAtCmdHandler::ExtractLineFromInputBuffer() (line found) complete") )); |
873 return EFalse; |
859 return EFalse; |
874 } |
860 } |
875 |
861 |
876 // --------------------------------------------------------------------------- |
862 // --------------------------------------------------------------------------- |