summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-search-domain.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-21 21:23:53 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-08-22 08:04:30 -0400
commite8011305b20e41a499f54a4d42f4e393f7ebc908 (patch)
tree928c53b5c9622a24298bf751c8c08842f8007e39 /src/resolve/resolved-dns-search-domain.c
parent0f90b52d5195a4725980f40525511aebe2934666 (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. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/resolve/resolved-dns-search-domain.c')
0 files changed, 0 insertions, 0 deletions