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:
4f26b89
)
Fix getpid call.
author
Scott Cantor
<cantor.2@osu.edu>
Sat, 6 Jun 2009 21:50:35 +0000
(21:50 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Sat, 6 Jun 2009 21:50:35 +0000
(21:50 +0000)
shibd/shibd.cpp
patch
|
blob
|
history
diff --git
a/shibd/shibd.cpp
b/shibd/shibd.cpp
index
47e21b1
..
4c86dae
100644
(file)
--- a/
shibd/shibd.cpp
+++ b/
shibd/shibd.cpp
@@
-366,7
+366,7
@@
int main(int argc, char *argv[])
if (pidfile) {
\r
FILE* pidf = fopen(pidfile, "w");
\r
if (pidf) {
\r
- fprintf(pidf, "%d\n",
pid
);
\r
+ fprintf(pidf, "%d\n",
getpid()
);
\r
fclose(pidf);
\r
}
\r
else {
\r