return PL_strdup(buf);
return nsCRT::strdup(buf);
MimeGetStringByID(PRInt32 stringID){  if (-1000 == stringID) return PL_strdup("Application is out of memory.");  if (-1001 == stringID) return PL_strdup("Unable to open the temporary file\n.\n%s\nCheck your `Temporary Directory' setting and try again.");  if (-1002 == stringID) return PL_strdup("Error writing temporary file.");  if (1000 == stringID) return PL_strdup("Subject");  if (1001 == stringID) return PL_strdup("Resent-Comments");  if (1002 == stringID) return PL_strdup("Resent-Date");  if (1003 == stringID) return PL_strdup("Resent-Sender");  if (1004 == stringID) return PL_strdup("Resent-From");  if (1005 == stringID) return PL_strdup("Resent-To");  if (1006 == stringID) return PL_strdup("Resent-CC");  if (1007 == stringID) return PL_strdup("Date");  if (1008 == stringID) return PL_strdup("Sender");  if (1009 == stringID) return PL_strdup("From");  if (1010 == stringID) return PL_strdup("Reply-To");  if (1011 == stringID) return PL_strdup("Organization");  if (1012 == stringID) return PL_strdup("To");  if (1013 == stringID) return PL_strdup("CC");  if (1014 == stringID) return PL_strdup("Newsgroups");  if (1015 == stringID) return PL_strdup("Followup-To");  if (1016 == stringID) return PL_strdup("References");  if (1017 == stringID) return PL_strdup("Name");  if (1018 == stringID) return PL_strdup("Type");  if (1019 == stringID) return PL_strdup("Encoding");  if (1020 == stringID) return PL_strdup("Description");  if (1021 == stringID) return PL_strdup("Message-ID");  if (1022 == stringID) return PL_strdup("Resent-Message-ID");  if (1023 == stringID) return PL_strdup("BCC");  if (1024 == stringID) return PL_strdup("Download Status");  if (1025 == stringID) return PL_strdup("Not Downloaded Inline");  if (1026 == stringID) return PL_strdup("Link to Document");  if (1027 == stringID) return PL_strdup("<B>Document Info:</B>");  if (1028 == stringID) return PL_strdup("Attachment");  if (1029 == stringID) return PL_strdup("forward.msg");  if (1030 == stringID) return PL_strdup("Add %s to your Address Book");  if (1031 == stringID) return PL_strdup("<B><FONT COLOR=\042#808080\042>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Internal</FONT></B>");  if (1032 == stringID) return PL_strdup("In message   wrote:<P>");  if (1033 == stringID) return PL_strdup(" wrote:<P>");  if (1034 == stringID) return PL_strdup("(no headers)");  if (1035 == stringID) return PL_strdup("Toggle Attachment Pane");  char    buf[128];    PR_snprintf(buf, sizeof(buf), "[StringID %d?]", stringID);  return PL_strdup(buf);}