summaryrefslogtreecommitdiffstats
path: root/proxy
diff options
context:
space:
mode:
authorGünther Deschner <gdeschner@redhat.com>2013-04-05 15:06:26 +0200
committerSimo Sorce <simo@redhat.com>2013-04-08 09:26:59 -0400
commit31d5d819608e9534af9147c77d1760eebe9a252b (patch)
tree15e44ded512863303f149e4a75f9b4a09b8f79ba /proxy
parenta432008ce012b6317c7a43f8ffeb1d34fb83784e (diff)
downloadgss-proxy-31d5d819608e9534af9147c77d1760eebe9a252b.tar.gz
gss-proxy-31d5d819608e9534af9147c77d1760eebe9a252b.tar.xz
gss-proxy-31d5d819608e9534af9147c77d1760eebe9a252b.zip
Add missing newlines to GPDEBUG statements.
Signed-off-by: Günther Deschner <gdeschner@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy')
-rw-r--r--proxy/src/gp_config.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/proxy/src/gp_config.c b/proxy/src/gp_config.c
index bb01227..075e1b7 100644
--- a/proxy/src/gp_config.c
+++ b/proxy/src/gp_config.c
@@ -178,7 +178,7 @@ static int load_services(struct gp_config *cfg, dictionary *dict)
valnum = get_int_value(dict, secname, "euid");
if (valnum == -1) {
/* malformed section, mech is missing */
- GPDEBUG("Euid missing from [%s], ignoring.", secname);
+ GPDEBUG("Euid missing from [%s], ignoring.\n", secname);
gp_service_free(cfg->svcs[n]);
cfg->num_svcs--;
continue;
@@ -207,7 +207,7 @@ static int load_services(struct gp_config *cfg, dictionary *dict)
value = get_char_value(dict, secname, "mechs");
if (value == NULL) {
/* malformed section, mech is missing */
- GPDEBUG("Mechs missing from [%s], ignoring.", secname);
+ GPDEBUG("Mechs missing from [%s], ignoring.\n", secname);
gp_service_free(cfg->svcs[n]);
cfg->num_svcs--;
continue;
@@ -222,11 +222,11 @@ static int load_services(struct gp_config *cfg, dictionary *dict)
if (ret == 0) {
cfg->svcs[n]->mechs |= GP_CRED_KRB5;
} else {
- GPDEBUG("Failed to read krb5 config for %s, ignoring.",
+ GPDEBUG("Failed to read krb5 config for %s, ignoring.\n",
secname);
}
} else {
- GPDEBUG("Unknown mech: %s in [%s], ignoring.",
+ GPDEBUG("Unknown mech: %s in [%s], ignoring.\n",
token, secname);
}
@@ -234,7 +234,7 @@ static int load_services(struct gp_config *cfg, dictionary *dict)
} while (token != NULL);
if (cfg->svcs[n]->mechs == 0) {
- GPDEBUG("No mechs found for [%s], ignoring.", secname);
+ GPDEBUG("No mechs found for [%s], ignoring.\n", secname);
gp_service_free(cfg->svcs[n]);
cfg->num_svcs--;
continue;
@@ -243,7 +243,7 @@ static int load_services(struct gp_config *cfg, dictionary *dict)
}
if (cfg->num_svcs == 0) {
- GPERROR("No service sections configured!");
+ GPERROR("No service sections configured!\n");
return ENOENT;
}
@@ -322,7 +322,7 @@ struct gp_config *read_config(char *config_file, int opt_daemonize)
ret = load_config(cfg);
if (ret) {
- GPDEBUG("Config file not found! Proceeding with defaults.");
+ GPDEBUG("Config file not found! Proceeding with defaults.\n");
}
done: