svn commit: r253152 - stable/9/lib/libfetch

Dag-Erling Smørgrav des at FreeBSD.org
Wed Jul 10 14:06:36 UTC 2013


Author: des
Date: Wed Jul 10 14:06:35 2013
New Revision: 253152
URL: http://svnweb.freebsd.org/changeset/base/253152

Log:
  MFH (r252375): remove useless side effect which triggers a clang bug.

Modified:
  stable/9/lib/libfetch/fetch.c
Directory Properties:
  stable/9/lib/libfetch/   (props changed)

Modified: stable/9/lib/libfetch/fetch.c
==============================================================================
--- stable/9/lib/libfetch/fetch.c	Wed Jul 10 12:51:30 2013	(r253151)
+++ stable/9/lib/libfetch/fetch.c	Wed Jul 10 14:06:35 2013	(r253152)
@@ -376,7 +376,7 @@ fetchParseURL(const char *URL)
 
 		/* password */
 		if (*q == ':')
-			q = fetch_pctdecode(u->pwd, ++q, URL_PWDLEN);
+			q = fetch_pctdecode(u->pwd, q + 1, URL_PWDLEN);
 
 		p++;
 	} else {


More information about the svn-src-stable-9 mailing list