Browse Source

Performance critical fix

tags/0.3.3
Vsevolod Stakhov 13 years ago
parent
commit
7f2244a075
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/url.c

+ 1
- 1
src/url.c View File

@@ -1220,7 +1220,7 @@ url_try_text (memory_pool_t *pool, const gchar *begin, gsize len, gint *res, gch
*url_str = NULL;
}
if (res) {
*res = strlen (matcher->pattern);
*res = (pos - begin) + strlen (matcher->pattern);
}
return TRUE;
}

Loading…
Cancel
Save