summaryrefslogtreecommitdiffstats
path: root/src/ft_p_line.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-04-28 15:15:40 +0200
committersalad <fmoenne-@student.le-101.fr>2020-04-28 15:15:40 +0200
commit73cc6d40e6c89819c0dd9dffdd095bc9d9ea6b88 (patch)
tree97b48e362e63f15170a5fe64112f2d8736901212 /src/ft_p_line.c
parentbackslashes as intended, multiline quotes vont me tuer (diff)
download42-minishell-73cc6d40e6c89819c0dd9dffdd095bc9d9ea6b88.tar.gz
42-minishell-73cc6d40e6c89819c0dd9dffdd095bc9d9ea6b88.tar.bz2
42-minishell-73cc6d40e6c89819c0dd9dffdd095bc9d9ea6b88.tar.xz
42-minishell-73cc6d40e6c89819c0dd9dffdd095bc9d9ea6b88.tar.zst
42-minishell-73cc6d40e6c89819c0dd9dffdd095bc9d9ea6b88.zip
ladies and gentlement
Diffstat (limited to '')
-rw-r--r--src/ft_p_line.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_p_line.c b/src/ft_p_line.c
index b1ba6b2..166b880 100644
--- a/src/ft_p_line.c
+++ b/src/ft_p_line.c
@@ -31,6 +31,7 @@ void
ptr = line;
while (*ptr != '\0')
{
+
if (*ptr == ';')
{
count += 1;