Fix typo in license headers
[oweals/cde.git] / cde / programs / dtmail / libDtMail / Common / DtMailServer.C
index 7cde4ca2b3d312b51f1ed6fdbfc337697d700269..7b819cdc70f16587e71991e2560d074ede8cdbba 100644 (file)
@@ -16,7 +16,7 @@
  * details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with these librararies and programs; if not, write
+ * License along with these libraries and programs; if not, write
  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  * Floor, Boston, MA 02110-1301 USA
  */
@@ -160,7 +160,7 @@ DtMailServer::set_password(char *password)
 //
 //     len     - Length of message.
 //
-#if defined(sun) || defined(USL)
+#if defined(reallyoldsun) || defined(USL)
 #define SA_HANDLER_TYPE void (*)(void)
 #else
 #define SA_HANDLER_TYPE void (*)(int)
@@ -231,7 +231,7 @@ DtMailServer::ptrans_retrieve_readandappend(
        // Determine if we are done with this message.
         if (proto_is_delimited())
        {
-           char *s = strrchr((const char *) _msgbuf, (int) '.');
+         char *s = const_cast<char *> (strrchr((const char *) _msgbuf, (int) '.'));
            
            if (s &&
                (s == _msgbuf || *(s-1) == '\n') &&