projects
/
libradsec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* radsecproxy.c (createpidfile): Don't use r uninitialized.
[libradsec.git]
/
radsecproxy.c
diff --git
a/radsecproxy.c
b/radsecproxy.c
index
36ac6c4
..
b875585
100644
(file)
--- a/
radsecproxy.c
+++ b/
radsecproxy.c
@@
-3161,7
+3161,7
@@
void *sighandler(void *arg) {
}
int createpidfile(const char *pidfile) {
- int r;
+ int r
= 0
;
FILE *f = fopen(pidfile, "w");
if (f)
r = fprintf(f, "%ld\n", (long) getpid());