X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Ftransmitter.cc;h=fccb667b4888415413ef5d8f744a557a6ce1faf1;hb=8b52b698104f336053f2228370139d821b7c43c1;hp=e4266d34d7d6787d8afa37c177ed94662bdfca9c;hpb=8c9749e42faf7808034ed8b7afce4a2fe6dc6f33;p=ardour.git diff --git a/libs/pbd/transmitter.cc b/libs/pbd/transmitter.cc index e4266d34d7..fccb667b48 100644 --- a/libs/pbd/transmitter.cc +++ b/libs/pbd/transmitter.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 1998-99 Paul Barton-Davis + Copyright (C) 1998-99 Paul Barton-Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -52,7 +52,7 @@ Transmitter::Transmitter (Channel c) send = 0; break; } -} +} void Transmitter::deliver () @@ -62,7 +62,7 @@ Transmitter::deliver () /* NOTE: this is just a default action for a Transmitter or a derived class. Any class can override this to produce some - other action when deliver() is called. + other action when deliver() is called. */ *this << '\0'; @@ -82,12 +82,12 @@ Transmitter::deliver () seekg (0, ios::beg); /* do the right thing if this should not return */ - + if (does_not_return()) { #ifndef PLATFORM_WINDOWS // TODO !!!! Commented out temporarily (for Windows) sigset_t mask; - + sigemptyset (&mask); sigsuspend (&mask); /*NOTREACHED*/ @@ -98,7 +98,7 @@ Transmitter::deliver () * provides some time for the user to see the message. */ #endif - } + } } bool @@ -115,7 +115,7 @@ Transmitter::does_not_return () extern "C" { void pbd_c_error (const char *str) - + { PBD::error << str << endmsg; }