cout << i_pURL << endl << temp << endl;
printf("%s\n%s\n", i_pURL, temp);
nsresult writeout(const char* i_pURL, PRInt32 urlFactory = URL_FACTORY_DEFAULT){    char* temp = 0;    if (!i_pURL) return NS_ERROR_FAILURE;    int rv = writeoutto(i_pURL, &temp, urlFactory);    cout << i_pURL << endl << temp << endl;    delete[] temp;    return rv;}