Signed-off-by: Christian Couder <chriscool@xxxxxxxxxxxxx> --- alias.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alias.c b/alias.c index eb9f08b..0933c87 100644 --- a/alias.c +++ b/alias.c @@ -5,7 +5,7 @@ static char *alias_val; static int alias_lookup_cb(const char *k, const char *v, void *cb) { - if (!prefixcmp(k, "alias.") && !strcmp(k+6, alias_key)) { + if (has_prefix(k, "alias.") && !strcmp(k+6, alias_key)) { if (!v) return config_error_nonbool(k); alias_val = xstrdup(v); -- 1.8.4.1.566.geca833c -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html