/* restore original doc */
u->doc = doc;
fetchFreeURL(u);
if (remote != NULL) {
fclose(remote);
}
return (retcode);