projects
/
unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
poprawka w COMMON.SBRIDE dla triss
[unres.git]
/
source
/
unres
/
src_MD-M
/
compinfo.c
diff --git
a/source/unres/src_MD-M/compinfo.c
b/source/unres/src_MD-M/compinfo.c
index
c7eecbe
..
e28f686
100644
(file)
--- a/
source/unres/src_MD-M/compinfo.c
+++ b/
source/unres/src_MD-M/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';