From d2946eb5bb3692806bb67e6e8a8d981f0e599850 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 2 Aug 2012 21:21:45 +0000 Subject: removal of the rest of __DATE__ and __TIME__ git-svn-id: http://svn.miranda-ng.org/main/trunk@1332 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/YAMN/filter/Base/maindll.cpp | 2 +- protocols/YAMN/filter/Simple/maindll.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols') diff --git a/protocols/YAMN/filter/Base/maindll.cpp b/protocols/YAMN/filter/Base/maindll.cpp index d6a645bd14..1cb9d92338 100644 --- a/protocols/YAMN/filter/Base/maindll.cpp +++ b/protocols/YAMN/filter/Base/maindll.cpp @@ -42,7 +42,7 @@ YAMN_FILTERREGISTRATION FilterRegistration= //classical YAMN registration #else "Base filter plugin for YAMN", #endif - __DATE__, + "", "© majvan", "Classifies mails using the rules stored in file", "om3tn@psg.sk", diff --git a/protocols/YAMN/filter/Simple/maindll.cpp b/protocols/YAMN/filter/Simple/maindll.cpp index 62aa87b28d..44a277d4fa 100644 --- a/protocols/YAMN/filter/Simple/maindll.cpp +++ b/protocols/YAMN/filter/Simple/maindll.cpp @@ -26,7 +26,7 @@ YAMN_FILTERIMPORTFCN FilterFunctions= //we set for YAMN which is our filter func YAMN_FILTERREGISTRATION FilterRegistration= //classical YAMN registration { "Simple filter plugin for YAMN", - __DATE__, + "", "© porter+ majvan", "Classifies mails using the blacklist emails stored in file", "porterbox@hotmail.com", @@ -107,9 +107,9 @@ DWORD WINAPI FilterMail(HACCOUNT Account,DWORD AccountVer,HYAMNMAIL Mail,DWORD M if(fp != NULL) { if (!(Mail->Flags & YAMN_MSG_VIRTUAL)) for(Browser=Mail->MailData->TranslatedHeader;Browser!=NULL;Browser=Browser->Next) { //we browse all header stored in Mail->TranslatedHeader - if ((!lstrcmp(Browser->name,"Return-Path")) || (!lstrcmp(Browser->name,"From"))) { //and if we find + if ((!lstrcmp(Browser->name,"Return-Path")) || (!lstrcmp(Browser->name,"From"))) { //and if we find fseek(fp, 0L, SEEK_SET); - while(!feof(fp)) { + while(!feof(fp)) { if(fscanf(fp, "%255s", EmailSpam) != 0) { if (!feof(fp)) if(fscanf(fp, "%d", &spamLevel)==0) -- cgit v1.2.3