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:
d3b1aea
)
Patched ctime_r branch.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 13 Nov 2007 03:37:14 +0000
(
03:37
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 13 Nov 2007 03:37:14 +0000
(
03:37
+0000)
shib-target/shib-mlp.cpp
patch
|
blob
|
history
diff --git
a/shib-target/shib-mlp.cpp
b/shib-target/shib-mlp.cpp
index
e34d22d
..
59f4606
100644
(file)
--- a/
shib-target/shib-mlp.cpp
+++ b/
shib-target/shib-mlp.cpp
@@
-79,7
+79,7
@@
const char* ShibMLP::run(const string& is, const IPropertySet* props, std::strin
time_t now = time(NULL);
#ifdef HAVE_CTIME_R
char timebuf[32];
- insert("now", ctime_r(&now,timebuf));
+ insert("now", ctime_r(&now,timebuf
,sizeof(timebuf)
));
#else
insert("now", ctime(&now));
#endif