diff options
author | Martin Nagy <mnagy@redhat.com> | 2010-03-03 08:33:22 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-04 12:41:31 -0500 |
commit | 8f4aaae28c88c707853f8f28d8babc4efe0c1bf6 (patch) | |
tree | 478841789251a1ecefb59e3d8f5dc8fe9f35eb37 /src/responder/common | |
parent | 70f4c2a1c476804b4fc409923b6fb7b0c2d2aaf4 (diff) | |
download | sssd-8f4aaae28c88c707853f8f28d8babc4efe0c1bf6.tar.gz sssd-8f4aaae28c88c707853f8f28d8babc4efe0c1bf6.tar.bz2 sssd-8f4aaae28c88c707853f8f28d8babc4efe0c1bf6.zip |
Add forgotten \n in DEBUG statements
Logs from confdb with missing '\n' in the DEBUG statements annoyed me so
I decided to fix them. I also made a quick grep through the code and
found other places so I fixed them too.
Diffstat (limited to 'src/responder/common')
-rw-r--r-- | src/responder/common/responder_common.c | 4 | ||||
-rw-r--r-- | src/responder/common/responder_dp.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c index ca830e47..f524afb9 100644 --- a/src/responder/common/responder_common.c +++ b/src/responder/common/responder_common.c @@ -207,7 +207,7 @@ static void accept_priv_fd_handler(struct tevent_context *ev, len = sizeof(cctx->addr); cctx->cfd = accept(rctx->priv_lfd, (struct sockaddr *)&cctx->addr, &len); if (cctx->cfd == -1) { - DEBUG(1, ("Accept failed [%s]", strerror(errno))); + DEBUG(1, ("Accept failed [%s]\n", strerror(errno))); talloc_free(cctx); return; } @@ -260,7 +260,7 @@ static void accept_fd_handler(struct tevent_context *ev, len = sizeof(cctx->addr); cctx->cfd = accept(rctx->lfd, (struct sockaddr *)&cctx->addr, &len); if (cctx->cfd == -1) { - DEBUG(1, ("Accept failed [%s]", strerror(errno))); + DEBUG(1, ("Accept failed [%s]\n", strerror(errno))); talloc_free(cctx); return; } diff --git a/src/responder/common/responder_dp.c b/src/responder/common/responder_dp.c index 782befb1..d5a4ca76 100644 --- a/src/responder/common/responder_dp.c +++ b/src/responder/common/responder_dp.c @@ -366,7 +366,7 @@ int sss_dp_send_acct_req(struct resp_ctx *rctx, TALLOC_CTX *callback_memctx, value.ptr = sdp_req; hret = hash_enter(dp_requests, &key, &value); if (hret != HASH_SUCCESS) { - DEBUG(0, ("Could not store request query (%s)", + DEBUG(0, ("Could not store request query (%s)\n", hash_error_string(hret))); talloc_zfree(sdp_req); ret = EIO; @@ -379,7 +379,7 @@ int sss_dp_send_acct_req(struct resp_ctx *rctx, TALLOC_CTX *callback_memctx, sdp_req->tev = tevent_add_timer(sdp_req->ev, sdp_req, tv, sdp_req_timeout, sdp_req); if (!sdp_req->tev) { - DEBUG(0, ("Out of Memory!?")); + DEBUG(0, ("Out of Memory!?\n")); talloc_zfree(sdp_req); ret = ENOMEM; goto done; @@ -498,7 +498,7 @@ static int sss_dp_send_acct_req_create(struct resp_ctx *rctx, sss_dp_send_acct_callback, sdp_req, NULL); if (!dbret) { - DEBUG(0, ("Could not queue up pending request!")); + DEBUG(0, ("Could not queue up pending request!\n")); talloc_zfree(sdp_req); dbus_pending_call_cancel(pending_reply); dbus_message_unref(msg); |