projects
/
unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
checkgrad after minim with return code <> 4
[unres.git]
/
source
/
wham
/
src
/
compinfo.c
diff --git
a/source/wham/src/compinfo.c
b/source/wham/src/compinfo.c
index
c7eecbe
..
e28f686
100644
(file)
--- a/
source/wham/src/compinfo.c
+++ b/
source/wham/src/compinfo.c
@@
-28,7
+28,7
@@
uname(&Name);
time(&Tp);
system("whoami > tmptmp");
in1=fopen("tmptmp","r");
-if (fscanf(in1,"%s",buf1) != NULL)
+if (fscanf(in1,"%s",buf1) != EOF)
{
p1=ctime(&Tp);
p1[strlen(p1)-1]='\0';