Blame SOURCES/0087-secrets-fix-debug-message.patch

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