applayerprotocols/httptransportfw/core/CHeaderField.cpp
branchRCL_3
changeset 11 8f055b80aa5b
parent 0 b16258d2340f
child 19 c0c2f28ace9c
equal deleted inserted replaced
9:9015645363c8 11:8f055b80aa5b
   116 
   116 
   117 	// Check the part is in range, if so return it
   117 	// Check the part is in range, if so return it
   118 	if ((aIndex < NumPartsL()) && (aIndex >= 0))
   118 	if ((aIndex < NumPartsL()) && (aIndex >= 0))
   119 		return iParts[aIndex];
   119 		return iParts[aIndex];
   120 	else
   120 	else
   121 		return NULL;
   121 		User::Leave(KErrNotFound);
       
   122 	
       
   123 	return NULL;
   122 	}
   124 	}
   123 
   125 
   124 EXPORT_C
   126 EXPORT_C
   125 void CHeaderField::RawDataL(TPtrC8& aRawData)
   127 void CHeaderField::RawDataL(TPtrC8& aRawData)
   126 	{
   128 	{