projects
/
physik
/
posic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
still playing around with heat capacity ...
[physik/posic.git]
/
random
/
random.c
diff --git
a/random/random.c
b/random/random.c
index
ddbd7b5
..
df77980
100644
(file)
--- a/
random/random.c
+++ b/
random/random.c
@@
-55,7
+55,7
@@
int rand_close(t_random *random) {
if(random->buffer) free(random->buffer);
if(random->fd) close(random->fd);
- if(random->logfd
) close(random->logfd);
+ if(random->logfd
>2) close(random->logfd); // could be stdo/e
return 0;
}