summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2008-06-25 00:28:53 +0300
committerLennart Poettering <lennart@poettering.net>2008-06-24 23:34:46 +0200
commit0ec4a7c40d36b9c25f3d2e3f82e2323c98077e55 (patch)
tree439b550d0ba88fc459d092579897858518a14830 /src/common.c
parent7d7f8d0f091ec6ff6925eb6ebf5bf79293caa812 (diff)
Replace streq with ca_streq
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Lennart Poettering <lennart@poettering.net>
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common.c b/src/common.c
index 71b887a..1e57e94 100644
--- a/src/common.c
+++ b/src/common.c
@@ -703,11 +703,11 @@ int ca_parse_cache_control(ca_cache_control_t *control, const char *c) {
ca_return_val_if_fail(control, CA_ERROR_INVALID);
ca_return_val_if_fail(c, CA_ERROR_INVALID);
- if (streq(c, "never"))
+ if (ca_streq(c, "never"))
*control = CA_CACHE_CONTROL_NEVER;
- else if (streq(c, "permanent"))
+ else if (ca_streq(c, "permanent"))
*control = CA_CACHE_CONTROL_PERMANENT;
- else if (streq(c, "volatile"))
+ else if (ca_streq(c, "volatile"))
*control = CA_CACHE_CONTROL_VOLATILE;
else
return CA_ERROR_INVALID;