diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-10-22 16:11:41 -0400 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-17 17:58:34 +0200 |
commit | 910c586574a52c6b4cbc6638193797008da076c7 (patch) | |
tree | 43e6d4842f185439c9e22eeb45e56aea851f40aa /src/basic/process-util.c | |
parent | 3b148b365934f5baf2c9162e2454ca416b666531 (diff) |
tree-wide: use startswith return value to avoid hardcoded offset
I think it's an antipattern to have to count the number of bytes in
the prefix by hand. We should do this automatically to avoid wasting
programmer time, and possible errors. I didn't any offsets that were
wrong, so this change is mostly to make future development easier.
Diffstat (limited to 'src/basic/process-util.c')
0 files changed, 0 insertions, 0 deletions