Code cleanup

This commit is contained in:
mysticbbs 2012-07-23 23:02:19 -04:00
parent 1e2fb72e90
commit 92e963ce7a
2 changed files with 3 additions and 5 deletions

View File

@ -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;

View File

@ -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