[pacman-dev] [PATCH] conf.c: add missing newline to warning
Fixes tests that use pacman's output when built without libcurl. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> --- src/pacman/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pacman/conf.c b/src/pacman/conf.c index cf8a417..05c4610 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -716,7 +716,7 @@ static int setup_libalpm(void) if(config->xfercommand) { alpm_option_set_fetchcb(handle, download_with_xfercommand); } else if(!(alpm_capabilities() & ALPM_CAPABILITY_DOWNLOADER)) { - pm_printf(ALPM_LOG_WARNING, _("no '%s' configured"), "XferCommand"); + pm_printf(ALPM_LOG_WARNING, _("no '%s' configured\n"), "XferCommand"); } if(config->totaldownload) { -- 1.8.5.2
On 30/12/13 13:51, Andrew Gregory wrote:
Fixes tests that use pacman's output when built without libcurl.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> ---
Ack.
src/pacman/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pacman/conf.c b/src/pacman/conf.c index cf8a417..05c4610 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -716,7 +716,7 @@ static int setup_libalpm(void) if(config->xfercommand) { alpm_option_set_fetchcb(handle, download_with_xfercommand); } else if(!(alpm_capabilities() & ALPM_CAPABILITY_DOWNLOADER)) { - pm_printf(ALPM_LOG_WARNING, _("no '%s' configured"), "XferCommand"); + pm_printf(ALPM_LOG_WARNING, _("no '%s' configured\n"), "XferCommand"); }
if(config->totaldownload) {
participants (2)
-
Allan McRae
-
Andrew Gregory