chiark / gitweb /
path-util: minor coding style fix
authorLennart Poettering <lennart@poettering.net>
Sun, 25 Oct 2015 23:46:40 +0000 (00:46 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 26 Apr 2017 10:58:55 +0000 (12:58 +0200)
commitabc8019b64273b4f15dfe082a58b9f3f42823904
tree6fcab1657e1e89caaa8faa2acd9cd6aa288faa96
parentdfc15f0ea42513f256e636ee78991e637b67be34
path-util: minor coding style fix

We usually avoid relying on C's degrade-to-boolean functionality when
comparing numerical variables with 0. We use it only for pointers and
actual booleans.
src/basic/path-util.c