sssd/0090-secrets-fix-debug-message.patch
Lukas Slebodnik 387014f928 Backport upstream patches for 1.15.3 pre-release
required for building freeipa-4.5.x in rawhide
2017-04-04 16:22:51 +02:00

29 lines
1000 B
Diff

From db826f57b4c2ee814823057cc536386889f7aa1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
Date: Wed, 15 Mar 2017 13:27:59 +0100
Subject: [PATCH 90/97] secrets: fix debug message
Reviewed-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
---
src/responder/secrets/secsrv_cmd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/responder/secrets/secsrv_cmd.c b/src/responder/secrets/secsrv_cmd.c
index 70679ec0398fca25cfb0525772f539526a0eb3ff..b88680c3d7c3105d160de5c78e6d981b852318b9 100644
--- a/src/responder/secrets/secsrv_cmd.c
+++ b/src/responder/secrets/secsrv_cmd.c
@@ -451,7 +451,8 @@ int sec_send_data(int fd, struct sec_data *data)
data->length -= len;
data->data += len;
- DEBUG(SSSDBG_TRACE_INTERNAL, "sent %zu bytes\n", data->length);
+ DEBUG(SSSDBG_TRACE_INTERNAL, "sent %zu bytes, %zu bytes remaining\n",
+ len, data->length);
return EOK;
}
--
2.12.2