projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes and improves parsing of config file.
[lcr.git]
/
crypt.cpp
diff --git
a/crypt.cpp
b/crypt.cpp
index
ee8e7cc
..
44e901c
100644
(file)
--- a/
crypt.cpp
+++ b/
crypt.cpp
@@
-216,7
+216,7
@@
static unsigned int get_bogomips(void)
}
fduse++;
buffer[sizeof(buffer-1)] = '\0';
- while(
fgets(buffer, sizeof(buffer)-1
, fp)) {
+ while(
GETLINE(buffer
, fp)) {
if (!!strncmp(buffer, "bogomips", 8))
continue;
if (!strchr(buffer, ':'))