summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f74a1da)
raw | patch | inline | side by side (parent: f74a1da)
author | Alexey Aleshkov <djmadcat@gmail.com> | |
Sun, 10 Dec 2017 11:30:15 +0000 (14:30 +0300) | ||
committer | Alexey Aleshkov <djmadcat@gmail.com> | |
Sun, 10 Dec 2017 11:32:11 +0000 (14:32 +0300) |
src/my.c | patch | blob | history |
diff --git a/src/my.c b/src/my.c
index 701dd1d8cceca2518d9017ab6490b01f84109dbd..08877e98cc0e8edf835d80565694f5854ff6f27a 100644 (file)
--- a/src/my.c
+++ b/src/my.c
int fexists(char * filename)
{
FILE *f;
- if (f = fopen(filename, "r"))
+ if ((f = fopen(filename, "r")))
{
fclose(f);
return 1;