git-svn: trunk@2276
Nigel Horne authored on 2006/09/16 14:39:54... | ... |
@@ -19,6 +19,9 @@ |
19 | 19 |
* MA 02110-1301, USA. |
20 | 20 |
* |
21 | 21 |
* $Log: phishcheck.c,v $ |
22 |
+ * Revision 1.4 2006/09/16 05:39:54 njh |
|
23 |
+ * Tidied print statement |
|
24 |
+ * |
|
22 | 25 |
* Revision 1.3 2006/09/15 16:27:50 njh |
23 | 26 |
* Better way to find string length in str_strip |
24 | 27 |
* |
... | ... |
@@ -1110,9 +1113,12 @@ enum phish_status phishingCheck(struct url_check* urls) |
1110 | 1110 |
const size_t cid_len = sizeof(cid)-1; |
1111 | 1111 |
enum phish_status rc=CL_PHISH_NODECISION; |
1112 | 1112 |
int phishy=0; |
1113 |
+ |
|
1113 | 1114 |
if(!urls->realLink.data) |
1114 | 1115 |
return CL_PHISH_CLEAN; |
1115 |
- cli_dbgmsg("\nPH:Checking url %s->%s \n",urls->realLink.data,urls->displayLink.data); |
|
1116 |
+ |
|
1117 |
+ cli_dbgmsg("PH:Checking url %s->%s\n", urls->realLink.data, |
|
1118 |
+ urls->displayLink.data); |
|
1116 | 1119 |
|
1117 | 1120 |
if(!strcmp(urls->realLink.data,urls->displayLink.data)) |
1118 | 1121 |
return CL_PHISH_CLEAN;/* displayed and real URL are identical -> clean */ |