X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fdebug%2Flogstream.hxx;h=98e5e3269e37ed3057aed7c6192670b71e86f9a1;hb=4e7fe460a5c5c1b64dd1d540bc197dbb89614b7f;hp=7fee81402c4f7b6be23f7f29c585f5a0362cf546;hpb=450ad45882f2f1e9009cab38be544b2b432aef17;p=simgear.git diff --git a/simgear/debug/logstream.hxx b/simgear/debug/logstream.hxx index 7fee8140..98e5e326 100644 --- a/simgear/debug/logstream.hxx +++ b/simgear/debug/logstream.hxx @@ -16,10 +16,9 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Library General Public License for more details. // -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the -// Free Software Foundation, Inc., 59 Temple Place - Suite 330, -// Boston, MA 02111-1307, USA. +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // $Id$ @@ -194,7 +193,7 @@ logbuf::overflow( int c ) freopen("conout$", "w", stderr); has_console = true; } - sbuf->sputc(c); + return sbuf->sputc(c); } else return EOF == 0 ? 1: 0;