summaryrefslogtreecommitdiff
path: root/net/gnoemoe/files/patch-src-support.c
blob: 8fe2aab2f7e7615d66228d3b6a01bd94981df693 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/support.c.orig	Mon Dec 13 14:03:44 2004
+++ src/support.c	Fri Jan 14 15:50:26 2005
@@ -194,11 +194,11 @@
     ret = regexec(&url_regexp, (char *)(tmp + offset), 1, matches, 0);
 
     if (ret == 0) {
+      gint s;
       if (matches[0].rm_so > matches[0].rm_eo) {
         break;
       }
       
-      gint s;
       num_matches++;
 
       s = matches[0].rm_so + offset;