Hi!
> This patch adds curly brace in if condition to check buffer
> 
> Signed-off-by: Manjeet Pawar <manjee...@samsung.com>
> Signed-off-by: Yogesh Gaur <yn.g...@samsung.com>
> ---
>  lib/dataascii.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/dataascii.c b/lib/dataascii.c
> index 1214ba6..2a196bf 100644
> --- a/lib/dataascii.c
> +++ b/lib/dataascii.c
> @@ -119,7 +119,7 @@ int main(int ac, char **ag)
>       char *errmsg;
>  
>       buffer = malloc(size);
> -     if (buffer == NULL)
> +     if (buffer == NULL){
>               perror("malloc");
>               exit(2);
>       }

This is obvious fix, but there should be space before the opening curly
brace. Please resend.

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to