소스 검색

* Fixed silly typo in THttpHeader.SetHeaderValues

sg 22 년 전
부모
커밋
e1723974e4
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      fcl/net/http.pp

+ 5 - 2
fcl/net/http.pp

@@ -305,7 +305,7 @@ end;
 
 procedure THttpHeader.SetFieldValues(AIndex: Integer; const AValue: String);
 begin
-  PHttpField(FFields.Items[AIndex])^.Name := AValue;
+  PHttpField(FFields.Items[AIndex])^.Value := AValue;
 end;
 
 function  THttpHeader.GetAccept: String; begin Result := GetFieldByName(fieldAccept) end;
@@ -675,7 +675,10 @@ end.
 
 {
   $Log$
-  Revision 1.1  2002-04-25 19:30:29  sg
+  Revision 1.2  2003-06-18 19:13:04  sg
+  * Fixed silly typo in THttpHeader.SetHeaderValues
+
+  Revision 1.1  2002/04/25 19:30:29  sg
   * First version (with exception of the HTTP unit: This is an improved version
     of the old asyncio HTTP unit, now adapted to fpAsync)