Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2013 15:51:27 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r252375 - head/lib/libfetch
Message-ID:  <201306291551.r5TFpRc6022283@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306291551.r5TFpRc6022283>