bug found
found bug in parser that made link adding impossible
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: mndhlovu <mndhlovu@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2019/04/22 08:55:30 by mndhlovu #+# #+# */
|
||||
/* Updated: 2019/04/22 12:43:44 by mndhlovu ### ########.fr */
|
||||
/* Updated: 2019/04/24 09:49:38 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -44,7 +44,7 @@ int lm_check_forbiden_chars(char *line, int flag)
|
||||
&& (hash == NULL || (hash != NULL && line[1] != '#')))
|
||||
return (1);
|
||||
if (flag == 3 && dash != NULL
|
||||
&& (hash == NULL || (hash != NULL && line[1] != '#')))
|
||||
&& hash == NULL)
|
||||
return (1);
|
||||
}
|
||||
return (0);
|
||||
|
||||
Reference in New Issue
Block a user