summaryrefslogtreecommitdiff
path: root/ft_split.c
diff options
context:
space:
mode:
Diffstat (limited to 'ft_split.c')
-rw-r--r--ft_split.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/ft_split.c b/ft_split.c
index b5d8a8b..af73f73 100644
--- a/ft_split.c
+++ b/ft_split.c
@@ -79,27 +79,3 @@ char **ft_split(char const *s, char c)
return (a);
}
-/*
-#include <stdio.h>
-
-int main(void)
-{
- char **b;
- int i;
- char *s2;
-
- // char *s= "xxxhelloxxallxxofxyoux";
- s2 = " code 42 ";
- // char **a;
- // a = ft_split(s, 'x');
- b = ft_split(s2, ' ');
- i = 0;
- while (b[i])
- {
- printf("b[%i]: %s\n", i, b[i]);
- free(b[i]);
- i++;
- }
- free(b);
-}
-*/