On Mon, Jul 21, 2008 at 02:03:57PM +0200, Nagy Gabor <[EMAIL PROTECTED]> wrote:
> @@ -740,7 +740,7 @@ int pacman_sync(alpm_list_t *targets)
>  
>       /* Display only errors with -Sp and -Sw operations */
>       if(config->flags & (PM_TRANS_FLAG_DOWNLOADONLY | 
> PM_TRANS_FLAG_PRINTURIS)) {
> -             config->logmask = PM_LOG_ERROR;
> +             config->logmask = config->logmask & ~PM_LOG_WARNING;
>       }
>  
>       /* clean the cache */

Minor nit: why not using &=?

Attachment: pgpOTpmpqgiG7.pgp
Description: PGP signature

_______________________________________________
pacman-dev mailing list
[email protected]
http://archlinux.org/mailman/listinfo/pacman-dev

Reply via email to