hi

in nntpsend.pas unit, function TNNTPSend.Login: Boolean; has a problem.

right after
  Result := (ReadResult div 100) = 2;
there is
    ListExtensions;
the problem is when Result is false and ResultString contains the error, 
ListExtensions overwrites the error and makes
it blank but in the bottom line, the login fails and there is no error to show 
the user.
i guess the solution is to do the following:
  if Result then
  begin
    ListExtensions;
    FNNTPcap.Assign(Fdata);
  end;
and re-organize the code with the new addition
what do you think?

-- 
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to