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 | |
parent | 70f4c2a1c476804b4fc409923b6fb7b0c2d2aaf4 (diff) | |
download | sssd-8f4aaae28c88c707853f8f28d8babc4efe0c1bf6.tar.gz sssd-8f4aaae28c88c707853f8f28d8babc4efe0c1bf6.tar.xz 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')
-rw-r--r-- | src/responder/common/responder_common.c | 4 | ||||
-rw-r--r-- | src/responder/common/responder_dp.c | 6 | ||||
-rw-r--r-- | src/responder/nss/nsssrv_cmd.c | 4 | ||||
-rw-r--r-- | src/responder/nss/nsssrv_nc.c | 2 | ||||
-rw-r--r-- | src/responder/pam/pam_LOCAL_domain.c | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c index ca830e473..f524afb93 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 782befb17..d5a4ca760 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); diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c index 46d4a2361..c43a544eb 100644 --- a/src/responder/nss/nsssrv_cmd.c +++ b/src/responder/nss/nsssrv_cmd.c @@ -75,13 +75,13 @@ static int nss_cmd_send_error(struct nss_cmd_ctx *cmdctx, int err) } #define NSS_CMD_FATAL_ERROR(cctx) do { \ - DEBUG(1,("Fatal error, killing connection!")); \ + DEBUG(1,("Fatal error, killing connection!\n")); \ talloc_free(cctx); \ return; \ } while(0) #define NSS_CMD_FATAL_ERROR_CODE(cctx, ret) do { \ - DEBUG(1,("Fatal error, killing connection!")); \ + DEBUG(1,("Fatal error, killing connection!\n")); \ talloc_free(cctx); \ return ret; \ } while(0) diff --git a/src/responder/nss/nsssrv_nc.c b/src/responder/nss/nsssrv_nc.c index 1fa7d612f..8d8ef01c1 100644 --- a/src/responder/nss/nsssrv_nc.c +++ b/src/responder/nss/nsssrv_nc.c @@ -141,7 +141,7 @@ static int nss_ncache_set_str(struct nss_nc_ctx *ctx, ret = tdb_store(ctx->tdb, key, data, TDB_REPLACE); if (ret != 0) { - DEBUG(1, ("Negative cache failed to set entry: [%s]", + DEBUG(1, ("Negative cache failed to set entry: [%s]\n", tdb_errorstr(ctx->tdb))); ret = EFAULT; } diff --git a/src/responder/pam/pam_LOCAL_domain.c b/src/responder/pam/pam_LOCAL_domain.c index 34f0c8dd5..a598e77e8 100644 --- a/src/responder/pam/pam_LOCAL_domain.c +++ b/src/responder/pam/pam_LOCAL_domain.c @@ -265,7 +265,7 @@ static void do_pam_chauthtok(struct LOCAL_request *lreq) if (strlen(newauthtok) == 0) { /* TODO: should we allow null passwords via a config option ? */ - DEBUG(1, ("Empty passwords are not allowed!")); + DEBUG(1, ("Empty passwords are not allowed!\n")); ret = EINVAL; goto done; } |