diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-20 17:11:39 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-20 17:11:39 +0300 |
commit | ea1da6a43cf4f6bfcc23722a05baaae203a00db4 (patch) | |
tree | 1bbc911a153e4968d9e14f98f74f1de195c2bc49 /src/url.c | |
parent | 9e611e033cfc40aab58805d8e485f892352750c6 (diff) | |
download | rspamd-ea1da6a43cf4f6bfcc23722a05baaae203a00db4.tar.gz rspamd-ea1da6a43cf4f6bfcc23722a05baaae203a00db4.zip |
Make compiler happy in several cases, remove warnings.
Diffstat (limited to 'src/url.c')
-rw-r--r-- | src/url.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -918,9 +918,10 @@ url_file_end (const gchar *begin, const gchar *end, const gchar *pos, url_match_ { const gchar *p; gchar stop; - guint i; + guint i; p = pos + strlen (match->pattern); + stop = *p; if (*p == '/') { p ++; } |