aboutsummaryrefslogtreecommitdiff
path: root/src/format_string.c
diff options
context:
space:
mode:
authorChristopher Uhlig2025-01-22 16:50:05 +0100
committerChristopher Uhlig2025-01-22 16:50:05 +0100
commitad5eae00584c6c4a88e873b85645c10c47cd7bf8 (patch)
tree77d00c9f815d26b05594fe75c11e364b3568e3ec /src/format_string.c
parentf6e474d27a1398c6d4f2e88c7f2d3797b85217da (diff)
downloadminishell-ad5eae00584c6c4a88e873b85645c10c47cd7bf8.tar.gz
minishell-ad5eae00584c6c4a88e873b85645c10c47cd7bf8.zip
uiuiuiui
Diffstat (limited to 'src/format_string.c')
-rw-r--r--src/format_string.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/format_string.c b/src/format_string.c
index 775a3da..ccc7084 100644
--- a/src/format_string.c
+++ b/src/format_string.c
@@ -6,7 +6,7 @@
/* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/17 19:30:11 by chuhlig #+# #+# */
-/* Updated: 2025/01/21 23:25:20 by chuhlig ### ########.fr */
+/* Updated: 2025/01/22 14:31:29 by chuhlig ### ########.fr */
/* */
/* ************************************************************************** */
@@ -52,6 +52,8 @@ static void append_slice(char **dst, char *src, int start, int end)
if (*dst != NULL)
free(*dst);
*dst = result;
+ // free(src);
+ // src = *dst;
}
static void append_var(char **dst, char *src, int *pos, t_env *env)