projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88160e5
)
It helps to actually RETURN the object....
author
Derek Atkins
<derek@ihtfp.com>
Tue, 8 Oct 2002 00:25:25 +0000
(
00:25
+0000)
committer
Derek Atkins
<derek@ihtfp.com>
Tue, 8 Oct 2002 00:25:25 +0000
(
00:25
+0000)
shib-target/shib-config.cpp
patch
|
blob
|
history
diff --git
a/shib-target/shib-config.cpp
b/shib-target/shib-config.cpp
index
c7860af
..
a629a49
100644
(file)
--- a/
shib-target/shib-config.cpp
+++ b/
shib-target/shib-config.cpp
@@
-36,9
+36,11
@@
private:
int refcount;
};
-static STConfig * g_Config = NULL;
-CCache* shibtarget::g_shibTargetCCache = NULL;
+namespace {
+ STConfig * g_Config = NULL;
+}
+CCache* shibtarget::g_shibTargetCCache = NULL;
/****************************************************************************/
// External Interface
@@
-55,6
+57,7
@@
ShibTargetConfig& ShibTargetConfig::init(const char* app_name, const char* inifi
}
g_Config = new STConfig(app_name, inifile);
+ return *g_Config;
}