return -1;
for (i = 0; URL->pwd[i]; ++i)
if (isspace(URL->pwd[i]))
if (isspace(URL->pwd[i]) && URL->pwd[i] != ' ')
URL->pwd[i] = '\0';
return 0;
}