diff options
author | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-03-21 05:01:11 +0000 |
---|---|---|
committer | michael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2007-03-21 05:01:11 +0000 |
commit | 41d245f9e30f5ffe9ca7492f853f75db259b01fc (patch) | |
tree | cc8a9048d1102ad0e8a7bcddc3aa2675d587a992 /plugin_imon.c | |
parent | 3fe74144bf1b5b43256dcc33640bb2293d86202d (diff) | |
download | lcd4linux-41d245f9e30f5ffe9ca7492f853f75db259b01fc.tar.gz |
plugin_file patch from Mark Richards
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@782 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_imon.c')
-rw-r--r-- | plugin_imon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_imon.c b/plugin_imon.c index 943712d..67217a5 100644 --- a/plugin_imon.c +++ b/plugin_imon.c @@ -185,7 +185,7 @@ static void phonebook(char *number) if (!fp) return; - while (fgets(line, 128, fp)) { + while (fgets(line, sizeof(line), fp)) { if (*line == '#') continue; if (!strncmp(line, number, strlen(number))) { |