#42 urlstrem parse error.

open
None
5
2005-12-05
2005-11-23
Jeff Chen
No

for "//user:pass@host:port/" syntax,
ep should be set 0 befor ++ep.

===================================================
--- url.cpp.orig 2005-11-23 18:09:09.000000000 +0800
+++ url.cpp 2005-11-23 18:09:36.000000000 +0800
@@ -531,6 +531,7 @@
ep = strrchr(hp, ':');
if(ep)
{
+ *ep = 0;
++ep;
if(isdigit(*ep))
port = atoi(ep);
@@ -542,7 +543,6 @@
port = ntohs(svc->s_port);
Socket::mutex.leave();
}
- *ep = 0;
}

if(!proxyPort)

Discussion

  • David Sugar

    David Sugar - 2005-12-05

    Logged In: YES
    user_id=217

    This has been accepted in cvs for gnutelephony for 1.3.22

     
  • David Sugar

    David Sugar - 2005-12-05
    • assigned_to: nobody --> dyfet
    • status: open --> open-accepted
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks