buf = (char *) PR_MALLOC (PL_strlen (prefix) + PL_strlen (suffix) + PL_strlen (url) + 20);
buf = (char *) PR_MALLOC (PL_strlen(prefix) + PL_strlen(suffix) + PL_strlen(url) + PL_strlen(makeUniqueHackString) + 20) ;
mime_image_make_image_html(void *image_closure){  struct mime_image_stream_data *mid =    (struct mime_image_stream_data *) image_closure;  const char *prefix = "<P><CENTER><IMG SRC=\"";  const char *suffix = "\"></CENTER><P>";  const char *url;  char *buf;  PR_ASSERT(mid);  if (!mid) return 0;  /* Internal-external-reconnect only works when going to the screen. */  if (!mid->istream)    return PL_strdup("<P><CENTER><IMG SRC=\"resource:/res/network/gopher-image.gif\" ALT=\"[Image]\"></CENTER><P>");  /* RICHIE_URL  url = ((mid->url_struct && mid->url_struct->address)         ? mid->url_struct->address         : "");  *** RICHIE_URL ***/  if ( (!mid->url) || (!(*mid->url)) )    url = "";  else    url = mid->url;  buf = (char *) PR_MALLOC (PL_strlen (prefix) + PL_strlen (suffix) +                           PL_strlen (url) + 20);  if (!buf) return 0;  *buf = 0;  PL_strcat (buf, prefix);  PL_strcat (buf, url);  PL_strcat (buf, suffix);  return buf;}