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/dbus-manager.c | |
parent | f68319bbb8e95e6afa5793834668b5c094616249 (diff) |
don't make up buffer sizes, use standard LINE_MAX instead
Diffstat (limited to 'src/dbus-manager.c')
-rw-r--r-- | src/dbus-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus-manager.c b/src/dbus-manager.c index 2f755bcc64..5b5bda2119 100644 --- a/src/dbus-manager.c +++ b/src/dbus-manager.c @@ -218,7 +218,7 @@ static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_manager_append_exec_output, exec_outp static int bus_manager_append_tainted(Manager *m, DBusMessageIter *i, const char *property, void *data) { const char *t; - char buf[64] = "", *e = buf, *p = NULL; + char buf[LINE_MAX] = "", *e = buf, *p = NULL; assert(m); assert(i); |