[SSSD] [PATCH] Fix return value of attr_name_val_split()

Lukas Slebodnik lslebodn at redhat.com
Thu Jun 12 07:21:55 UTC 2014


On (11/06/14 20:54), Sumit Bose wrote:
>Hi,
>
>I found this wrong return value. I've checked the other recent posting
>and didn't found a patch for this. If someone already send a patch for
>this please point me to the right thread so that I can ack it.
>
>bye,
>Sumit

>From 9c3d4f637d80448922779b093fc4a2da909054e4 Mon Sep 17 00:00:00 2001
>From: Sumit Bose <sbose at redhat.com>
>Date: Wed, 11 Jun 2014 20:49:31 +0200
>Subject: [PATCH] Fix return value of attr_name_val_split()
>
>---
> src/tools/sss_sync_ops.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c
>index 232a711..667c8a6 100644
>--- a/src/tools/sss_sync_ops.c
>+++ b/src/tools/sss_sync_ops.c
>@@ -83,7 +83,7 @@ static int attr_name_val_split(TALLOC_CTX *mem_ctx, const char *nameval,
>     ret = EOK;
> done:
>     talloc_free(tmp_ctx);
>-    return EOK;
>+    return ret;
ACK,
but could you also change the same problem in "static int attr_op"
(the same file).

LS



More information about the sssd-devel mailing list