aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_map_error.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 20:29:27 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 20:29:27 +0100
commita9744a89d31759cf9d5a03beede475ff18a9bf2b (patch)
tree4792abe0a77bafafd11456d95440ff7648cec563 /src/ft_map_error.c
parentint16_tamer (diff)
download42-cub3d-a9744a89d31759cf9d5a03beede475ff18a9bf2b.tar.gz
42-cub3d-a9744a89d31759cf9d5a03beede475ff18a9bf2b.tar.bz2
42-cub3d-a9744a89d31759cf9d5a03beede475ff18a9bf2b.tar.xz
42-cub3d-a9744a89d31759cf9d5a03beede475ff18a9bf2b.tar.zst
42-cub3d-a9744a89d31759cf9d5a03beede475ff18a9bf2b.zip
Changed return values
Diffstat (limited to '')
-rw-r--r--src/ft_map_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_map_error.c b/src/ft_map_error.c
index 3413bbb..1adc34b 100644
--- a/src/ft_map_error.c
+++ b/src/ft_map_error.c
@@ -21,5 +21,5 @@ int
ft_dprintf(STDERR_FILENO, "Error\n");
ft_dprintf(STDERR_FILENO,
"\033[1;31mMap error: line %zu\033[0m\n", clist->line_chk);
- return (ft_exit(1, clist));
+ return (ft_exit(4, clist));
}