Fix for SSPCPP-87.
authorScott Cantor <cantor.2@osu.edu>
Thu, 27 Mar 2008 01:20:42 +0000 (01:20 +0000)
committerScott Cantor <cantor.2@osu.edu>
Thu, 27 Mar 2008 01:20:42 +0000 (01:20 +0000)
.cproject
isapi_shib/.gitignore [new file with mode: 0644]
isapi_shib/isapi_shib.cpp

index 8126626..cfe62fa 100644 (file)
--- a/.cproject
+++ b/.cproject
@@ -1,7 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<?fileVersion 4.0.0?>\r
-\r
-<cproject>\r
+<?xml version="1.0" encoding="UTF-8"?><?fileVersion 4.0.0?><cproject>\r
 <storageModule moduleId="org.eclipse.cdt.core.settings">\r
 <cconfiguration id="converted.config.1765078528">\r
 <storageModule moduleId="org.eclipse.cdt.core.pathentry">\r
@@ -28,6 +25,7 @@
 <extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>\r
 </extensions>\r
 </storageModule>\r
+<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>\r
 </cconfiguration>\r
 </storageModule>\r
 </cproject>\r
diff --git a/isapi_shib/.gitignore b/isapi_shib/.gitignore
new file mode 100644 (file)
index 0000000..ac28e66
--- /dev/null
@@ -0,0 +1,6 @@
+/*.plg
+/Release
+/Debug
+/*.dep
+/*.mak
+/*.aps
index f7169be..53d1d15 100644 (file)
@@ -524,7 +524,7 @@ extern "C" DWORD WINAPI HttpFilterProc(PHTTP_FILTER_CONTEXT pfc, DWORD notificat
 {
     // Is this a log notification?
     if (notificationType==SF_NOTIFY_LOG) {
-        if (pfc->pFilterContext)
+        if (pfc->pFilterContext && static_cast<context_t*>(pfc->pFilterContext)->m_user)
             ((PHTTP_FILTER_LOG)pvNotification)->pszClientUserName=static_cast<context_t*>(pfc->pFilterContext)->m_user;
         return SF_STATUS_REQ_NEXT_NOTIFICATION;
     }