Code cleanup
This commit is contained in:
parent
1e2fb72e90
commit
92e963ce7a
|
@ -248,6 +248,7 @@ Var
|
|||
FileBuf : Array[1..4096] of Char;
|
||||
Begin
|
||||
Result := False;
|
||||
FileMode := 66;
|
||||
|
||||
Assign (SF, Source);
|
||||
{$I-} Reset(SF, 1); {$I+}
|
||||
|
@ -366,7 +367,7 @@ Function JustFile (Str: String) : String;
|
|||
Var
|
||||
Count : Byte;
|
||||
Begin
|
||||
For Count := Ord(Str[0]) DownTo 1 Do
|
||||
For Count := Length(Str) DownTo 1 Do
|
||||
If (Str[Count] = '/') or (Str[Count] = '\') Then Begin
|
||||
Delete (Str, 1, Count);
|
||||
Break;
|
||||
|
|
|
@ -174,9 +174,6 @@ Begin
|
|||
End;
|
||||
|
||||
Procedure TSocketClass.BufFlush;
|
||||
Var
|
||||
Count : LongInt;
|
||||
Start : LongInt;
|
||||
Begin
|
||||
If FOutBufPos > 0 Then Begin
|
||||
If FTelnetClient or FTelnetServer Then
|
||||
|
|
Loading…
Reference in New Issue