return;
wallet_FetchFromNetCenter(char* from, char* to) {    nsIInputStream* newStream;    nsIInputStream* *aNewStream = &newStream;    nsresult rv;#ifndef NECKO    nsIURI * url;    if (!NS_FAILED(NS_NewURL(&url, from))) {        NS_WITH_SERVICE(nsINetService, inet, kNetServiceCID, &rv);        if (NS_FAILED(rv)) return;        rv = inet->OpenBlockingStream(url, nsnull, aNewStream);#else    NS_WITH_SERVICE(nsIIOService, inet, kIOServiceCID, &rv);    if (NS_FAILED(rv)) return;    nsIChannel *channel = nsnull;    // XXX NECKO what verb do we want here?    rv = inet->NewChannel("load", from, nsnull, nsnull, &channel);    if (NS_FAILED(rv)) return;    rv = channel->OpenInputStream(0, -1, aNewStream);#endif // NECKO        /* open network stream */        if (NS_SUCCEEDED(rv)) {          /* open output file */          nsFileSpec dirSpec;          rv = Wallet_ProfileDirectory(dirSpec);          if (NS_FAILED(rv)) {            return;          }          nsOutputFileStream strm(dirSpec + to);          if (!strm.is_open()) {            NS_ERROR("unable to open file");          } else {            /* place contents of network stream in output file */            char buff[1001];            PRUint32 count;            while (NS_SUCCEEDED((*aNewStream)->Read(buff,1000,&count))) {              buff[count] = '\0';              strm.write(buff, count);            }            strm.flush();            strm.close();          }        }#ifndef NECKO    }#endif // NECKO}