Cleaned the seg faults and normed the code, only
lm_mem_utils has a norm error.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: mndhlovu <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2019/04/08 06:42:37 by mndhlovu #+# #+# */
|
||||
/* Updated: 2019/04/29 12:06:08 by mndhlovu ### ########.fr */
|
||||
/* Updated: 2019/05/06 07:24:46 by mndhlovu ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -71,6 +71,6 @@ int lm_error_nbr(char *raw)
|
||||
|| lm_check_max(raw) == -1
|
||||
|| (ft_atoi(raw) > 0 && (ft_atoi(raw) == 0))
|
||||
|| ft_strlen(raw) > 19)
|
||||
return (-1);
|
||||
return (0);
|
||||
return (0);
|
||||
return (1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user