svn commit: r252375 - head/lib/libfetch

Tim Kientzle kientzle at FreeBSD.org
Sat Jun 29 15:51:27 UTC 2013


Author: kientzle
Date: Sat Jun 29 15:51:27 2013
New Revision: 252375
URL: http://svnweb.freebsd.org/changeset/base/252375

Log:
  Fix -Wunsequenced warning.
  
  Submitted by:	dt71 at gmx.com

Modified:
  head/lib/libfetch/fetch.c

Modified: head/lib/libfetch/fetch.c
==============================================================================
--- head/lib/libfetch/fetch.c	Sat Jun 29 15:49:26 2013	(r252374)
+++ head/lib/libfetch/fetch.c	Sat Jun 29 15:51:27 2013	(r252375)
@@ -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-all mailing list