projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* silenced more warnings
[citadel.git]
/
citadel
/
utils
/
sendcommand.c
diff --git
a/citadel/utils/sendcommand.c
b/citadel/utils/sendcommand.c
index faeb469c1bc2ee273f1996867af849d7b27a67e4..8ea8fd633e97a7273530a86595992a6c63efd78e 100644
(file)
--- a/
citadel/utils/sendcommand.c
+++ b/
citadel/utils/sendcommand.c
@@
-47,9
+47,10
@@
int set_lockfile(void)
{
FILE *lfp;
int onppid;
+ int rv;
if ((lfp = fopen(LOCKFILE, "r")) != NULL) {
- fscanf(lfp, "%d", &onppid);
+
rv =
fscanf(lfp, "%d", &onppid);
fclose(lfp);
if (!kill(onppid, 0) || errno == EPERM)
return 1;