summaryrefslogtreecommitdiff
path: root/src/shared/spawn-ask-password-agent.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-21 16:10:59 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-21 17:24:21 +0200
commit11adc1aef7a1a6e9ba3fda8eb34eb5fadedc0385 (patch)
treedf0a121bd4f3db89e9d7bc7afd3d6276277581a5 /src/shared/spawn-ask-password-agent.c
parent3fdbc8205885f117b7dea289b44217310663e731 (diff)
util: change return value of startswith() to non-const
This way we can use it on non-const strings, and don't end up with a const'ified result. This is similar to libc's strstr() which also takes a const string but returns a non-const one.
Diffstat (limited to 'src/shared/spawn-ask-password-agent.c')
0 files changed, 0 insertions, 0 deletions