projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some issues reported by cppcheck
[citadel.git]
/
citadel
/
citserver.c
diff --git
a/citadel/citserver.c
b/citadel/citserver.c
index 7e5538b51817757f789466066e61edda741c518e..e60693859a95492a7ed8bd02b19b79cd81301db4 100644
(file)
--- a/
citadel/citserver.c
+++ b/
citadel/citserver.c
@@
-425,7
+425,7
@@
int is_public_client(void)
}
}
}
}
}
}
- fclose(fp);
+
if (fp != NULL)
fclose(fp);
pc_timestamp = time(NULL);
end_critical_section(S_PUBLIC_CLIENTS);
}
pc_timestamp = time(NULL);
end_critical_section(S_PUBLIC_CLIENTS);
}