Re: [libnftnl PATCH 1/3] ruleset: Add an end of line in the exit of ruleset.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please, Fotget this patch.

2014-04-09 10:53 GMT+02:00 Ana Rey <anarey@xxxxxxxxx>:
> Add an end of line in the exit of ruleset.
>
> Signed-off-by: Ana Rey <anarey@xxxxxxxxx>
> ---
>  src/ruleset.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/ruleset.c b/src/ruleset.c
> index 3cbec09..181aeae 100644
> --- a/src/ruleset.c
> +++ b/src/ruleset.c
> @@ -818,7 +818,7 @@ nft_ruleset_do_snprintf(char *buf, size_t size, const struct nft_ruleset *rs,
>                 SNPRINTF_BUFFER_SIZE(ret, size, len, offset);
>         }
>
> -       ret = snprintf(buf+offset, size, "%s", nft_ruleset_o_closetag(type));
> +       ret = snprintf(buf+offset, size, "%s\n", nft_ruleset_o_closetag(type));
>         SNPRINTF_BUFFER_SIZE(ret, size, len, offset);
>
>         return offset;
> --
> 1.9.0
>



-- 
Ana Rey (@anaRB)
http://about.me/anarey
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux