chiark / gitweb /
sd-bus: clean up string length calculation
authorDaniel Mack <daniel@zonque.org>
Sun, 28 Sep 2014 19:19:22 +0000 (21:19 +0200)
committerDaniel Mack <daniel@zonque.org>
Sun, 28 Sep 2014 19:22:51 +0000 (21:22 +0200)
commitf0c5e28e58215682c832e1667b346b59c804f6a5
treef1f613e61c4f41449e807dfd7e1a945c774c7643
parentc119700c06b248b1c2a082b40b1a346f58d89da0
sd-bus: clean up string length calculation

Move the +1 calculus onto the definition of the variable, just to make
the code a little easier to read. No functional change.
src/libsystemd/sd-bus/bus-control.c