} else { result = PL_strdup(def);
char *stub_Prompt(MWContext *context,                  const char *msg,                  const char *def){  nsINetSupport *ins;  char *result = nsnull;      if (nsnull != (ins = getNetSupport(context->modular_data))) {    nsAutoString str(msg);    nsAutoString defStr(def);    nsAutoString res;    if (ins->Prompt(msg, defStr, res)) {      NS_RELEASE(ins);      result = res.ToNewCString();    }    NS_RELEASE(ins);  }   /* No nsINetSupport interface... */  else {    char buf[256];    printf("%s\n", msg);    printf("%cPrompt: ", '\007');    scanf("%s", buf);    if (PL_strlen(buf)) {      result = PL_strdup(buf);    }  }  return result;}