Return NULL sock name if config not loaded.
authorScott Cantor <cantor.2@osu.edu>
Fri, 14 Feb 2003 08:14:18 +0000 (08:14 +0000)
committerScott Cantor <cantor.2@osu.edu>
Fri, 14 Feb 2003 08:14:18 +0000 (08:14 +0000)
shib-target/shib-target.cpp

index 96c5fd9..be3576e 100644 (file)
@@ -59,5 +59,5 @@ extern "C" void shib_target_finalize (void)
 
 extern "C" ShibSockName shib_target_sockname(void)
 {
-    return (g_Config ? g_Config->m_SocketName : SHIB_SHAR_SOCKET);
+    return (g_Config ? g_Config->m_SocketName : (ShibSockName)0);
 }