[pacman-dev] [PATCH] conf.c: add missing newline to warning

Allan McRae allan at archlinux.org
Sun Dec 29 23:14:07 EST 2013


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 at 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) {
> 



More information about the pacman-dev mailing list