Thread (1 message) 1 message, 1 author, 2017-01-26

Re: [PATCH v3 4/4] urlmatch: allow globbing for the URL host part

From: Junio C Hamano <hidden>
Date: 2017-01-26 20:50:18

Junio C Hamano [off-list ref] writes:
quoted hunk
+	while (url_len && pat_len) {
+		const char *url_next = end_of_token(url, '.', url_len);
+		const char *pat_next = end_of_token(pat, '.', pat_len);
+ ...
 	}
 
+	return 1;
Embarrassing.  The last one must be "have they both run out?" i.e.

	return (!url_len && !pat_len);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help