]> source.dussan.org Git - rspamd.git/commitdiff
Do not write warning about normal urls. 0.3.7
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 25 Feb 2011 14:47:31 +0000 (17:47 +0300)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Fri, 25 Feb 2011 14:47:31 +0000 (17:47 +0300)
src/url.c

index 083ceecba3bed5810eb69955759b8414ab138168..8282f92172596c1b8c0f4ea25a5ffd05ae03ff7b 100644 (file)
--- a/src/url.c
+++ b/src/url.c
@@ -1199,7 +1199,7 @@ url_parse_text (memory_pool_t * pool, struct worker_task *task, struct mime_text
                                                                }
                                                        }
                                                }
-                                               else {
+                                               else if (rc != URI_ERRNO_OK) {
                                                        msg_info ("extract of url '%s' failed: %s", url_str, url_strerror (rc));
                                                }
                                        }