hi
someone threw my attention to the fact that when a someone receives a
mail from him, he also sees his computer name in the headers.

i noticed that in the helo/ehlo command, you send the systemname
which is the localname. and if empty, it uses 127.0.0.1
for security reasons he doesnt want his computer name to be sent
so why not using 127.0.0.1 as a default instead of the computer name?

like this: (blcksock.pas: function TBlockSocket.LocalName: string;
{  Result := synsock.GetHostName;
  if Result = '' then}
    Result := '127.0.0.1';


in ftpsend.pas: procedure TFTPList.FillRecord(const Value: TFTPListRec);
u have the following:
  if Hours <> '' then
  begin
    mHours := StrToIntDef(Hours, 0);
    if HoursModif <> '' then
      if Uppercase(HoursModif[1]) = 'P' then
        if mHours <> 12 then
          mHours := MHours + 12;
  end;

there is a bug when it is 12AM
it should be 00 and not 12
so the fix should be:
  if Hours <> '' then
  begin
    mHours := StrToIntDef(Hours, 0);
    if HoursModif <> '' then
      if Uppercase(HoursModif[1]) = 'P' then
      begin
        if mHours <> 12 then
          mHours := MHours + 12;
      end
      else if mHours = 12 then mHours := 0;
  end;

thanks
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to