{
MegaBrutal's SMTP Server (MgSMTP)
- Copyright (C) 2010-2014 MegaBrutal
+ Copyright (C) 2010-2018 MegaBrutal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
function TLogger.AddStdLine(Line: string): boolean;
{ Log message to both stdout and smtp.log. }
+var outresult, logresult: boolean;
begin
- Result:= Out.AddLine(Line) and AddLine(Line);
+ outresult:= Out.AddLine(Line);
+ logresult:= AddLine(Line);
+ Result:= outresult and logresult;
end;
function TLogger.AddStdLine(Agent, Line: string): boolean;
{ Log message to both stdout and smtp.log. }
+var outresult, logresult: boolean;
begin
- Result:= Out.AddLine(Agent, Line) and AddLine(Agent, Line);
+ outresult:= Out.AddLine(Agent, Line);
+ logresult:= AddLine(Agent, Line);
+ Result:= outresult and logresult;
end;
document what bugfix/feature are you testing with the actual build.
This will be logged to help you differentiate outputs of subsequent
builds in your logs. If left empty, it won't be added to the logs. }
- DEVCOMMENT = 'ListenAddress';
+ DEVCOMMENT = 'Wine 1.6 AddStdLine fix';
var