svn commit: r1927939 - apr/apr/trunk/uri

[email protected]
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <175576704602.3381772.16333134774029107989@svn02-us-east.apache.org>
Author: rpluem
Date: Thu Aug 21 09:04:05 2025
New Revision: 1927939

Log:
* Reorder

Modified:
   apr/apr/trunk/uri/apr_uri.c

Modified: apr/apr/trunk/uri/apr_uri.c
==============================================================================
--- apr/apr/trunk/uri/apr_uri.c	Thu Aug 21 09:03:00 2025	(r1927938)
+++ apr/apr/trunk/uri/apr_uri.c	Thu Aug 21 09:04:05 2025	(r1927939)
@@ -76,9 +76,10 @@ static schemes_t schemes[] =
 static apr_status_t detect_scope_zone_id(int *have_zone_id, char const *ipv6addr,
                                          size_t len)
 {
-    *have_zone_id = 0;
     char *s;
 
+    *have_zone_id = 0;
+
     if (len < 3) {
         /* Need *at least* the three characters for a percent-encoded percent
          * sign.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.