diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/rtsp/rtspurl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtsp/rtspurl.c b/gst/rtsp/rtspurl.c index dd735565..6ef0220e 100644 --- a/gst/rtsp/rtspurl.c +++ b/gst/rtsp/rtspurl.c @@ -95,7 +95,7 @@ rtsp_url_parse (const gchar * urlstr, RTSPUrl ** url) res->user = g_strndup (p, col - p); col++; - res->passwd = g_strndup (col, col - at); + res->passwd = g_strndup (col, at - col); /* move to host */ p = at + 1; |