Skip to content
Snippets Groups Projects
Commit 2d2574fb authored by deuce's avatar deuce
Browse files

Remove path info from URL.

parent 7695fc5d
Branches
Tags
No related merge requests found
......@@ -144,6 +144,10 @@ int main(int argc, char **argv)
bbs->user[0]=0;
bbs->password[0]=0;
p1=url+9;
/* Remove trailing / (Win32 adds one 'cause it hates me) */
p2=strchr(p1,'/');
if(p2!=NULL);
*p2=0;
p3=strchr(p1,'@');
if(p3!=NULL) {
*p3=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment