From: Art Cancro Date: Tue, 9 Jun 2009 16:04:51 +0000 (+0000) Subject: * Fix '/*' found in comment X-Git-Tag: v7.86~1094 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=d450ed86a85ac7d391734a1ee0909701791d1360 * Fix '/*' found in comment --- 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;