dthelp: Change to ANSI function definitions
[oweals/cde.git] / cde / programs / dtmail / dtmail / DmxMessage.C
index 5b6dafc93ee7829efbef69ffd3b30bd99bf1349c..252022bc19b39a58cdd0ff6f4dfa530e91ae4f8d 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
  */
 // For CHARSET
 #include <LocaleXlate.h>
 #include <locale.h>
-#if !defined(USL) && !defined(__uxp__)
 #include <strings.h>
-#else 
-#include <EUSCompat.h>
-#endif 
 
 #include "Application.h"
 #include "DtMail/DtMail.hh"
@@ -95,6 +91,11 @@ DmxMsg::DmxMsg (void)
        addlInfo = NULL;
        numBPs = 0;
        cachedValues = DTM_FALSE;
+       msgHandle = NULL;
+       msgHeader.header_values = 0;
+       msgHeader.number_of_names = 0;
+       bodyParts = NULL;
+       isNew = DTM_FALSE;
 
        return;
 }
@@ -394,8 +395,7 @@ DmxMsg::display (
        strcpy(v3_cs, "DEFAULT");
        strcat(v3_cs, ".");
        strcat(v3_cs, ret);
-       if (ret)
-         free(ret);
+       free(ret);
     }
 
     // Get iconv from and to codeset and do conversion.