From d450ed86a85ac7d391734a1ee0909701791d1360 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 9 Jun 2009 16:04:51 +0000 Subject: [PATCH] * Fix '/*' found in comment --- webcit/context_loop.c | 4 ++-- webcit/static.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webcit/context_loop.c b/webcit/context_loop.c index ffa654b7f..3a20c7e82 100644 --- a/webcit/context_loop.c +++ b/webcit/context_loop.c @@ -773,8 +773,8 @@ InitModule_CONTEXT * Look for commonly-found probes of malware such as worms, viruses, trojans, and Microsoft Office. * Short-circuit these requests so we don't have to send them through the full processing loop. */ - WebcitAddUrlHandler(HKEY("scripts"), do_404, ANONYMOUS|BOGUS); /* /root.exe /* Worms and trojans and viruses, oh my! */ - WebcitAddUrlHandler(HKEY("c"), do_404, ANONYMOUS|BOGUS); /* /winnt */ + WebcitAddUrlHandler(HKEY("scripts"), do_404, ANONYMOUS|BOGUS); /* /root.exe - Worms and trojans and viruses, oh my! */ + WebcitAddUrlHandler(HKEY("c"), do_404, ANONYMOUS|BOGUS); /* /winnt */ WebcitAddUrlHandler(HKEY("MSADC"), do_404, ANONYMOUS|BOGUS); WebcitAddUrlHandler(HKEY("_vti"), do_404, ANONYMOUS|BOGUS); /* Broken Microsoft DAV implementation */ WebcitAddUrlHandler(HKEY("MSOffice"), do_404, ANONYMOUS|BOGUS); /* Stoopid MSOffice thinks everyone is IIS */ diff --git a/webcit/static.c b/webcit/static.c index 4f9c8c868..cca82086e 100644 --- a/webcit/static.c +++ b/webcit/static.c @@ -170,7 +170,7 @@ int LoadStaticDir(const char *DirName, HashList *DirList, const char *RelDir) StrBufAppendBufPlain(OneWebName, filedir_entry->d_name, d_namelen, 0); Put(DirList, SKEY(OneWebName), FileName, HFreeStrBuf); -/* printf("[%s | %s] \n", ChrPtr(OneWebName), ChrPtr(FileName));*/ + /* lprintf(9, "[%s | %s]\n", ChrPtr(OneWebName), ChrPtr(FileName)); */ break; default: break; -- 2.30.2