diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-04-07 18:48:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-07 18:48:50 +0200 |
commit | 20c03b7be2c87ef54533db849fd046d7014c36b4 (patch) | |
tree | 3fedf87ba7ae3bda4ba6649cd84095c884d88322 /src/manager.c | |
parent | f68319bbb8e95e6afa5793834668b5c094616249 (diff) |
don't make up buffer sizes, use standard LINE_MAX instead
Diffstat (limited to 'src/manager.c')
-rw-r--r-- | src/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c index f9b3b5956b..5cb3588c94 100644 --- a/src/manager.c +++ b/src/manager.c @@ -2681,7 +2681,7 @@ int manager_deserialize(Manager *m, FILE *f, FDSet *fds) { m->n_deserializing ++; for (;;) { - char line[1024], *l; + char line[LINE_MAX], *l; if (!fgets(line, sizeof(line), f)) { if (feof(f)) |