Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Always check the tail first, even when not sorted

  • Loading branch information...
commit 3aeff1d34cdcb558eee157bdb9f66cedfe023eb1 1 parent b68cb98
@icefox authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  skwurly.c
View
3  skwurly.c
@@ -303,8 +303,7 @@ char* url_sort(const char* original_url) {
#ifdef TAIL
// optimize for the common case that the params are mostly ordered
int r = 1;
- if (sorted)
- r = *(tail->start) - *(s);
+ r = *(tail->start) - *(s);
if (r < 0) {
parent = &(tail->right);
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.