remove debug line

This commit is contained in:
Night Kaly 2024-04-07 17:44:38 +00:00
parent fd1bd8ef23
commit 00e9ab4555
Signed by: night0721
GPG key ID: 957D67B8DB7A119B

3
ccc.c
View file

@ -903,9 +903,6 @@ char *replace_home(char *str)
char *newstr = memalloc((strlen(str) + strlen(home)) * sizeof(char));
/* replace ~ with home */
snprintf(newstr, strlen(str) + strlen(home), "%s%s", home, str + 1);
FILE *a = fopen("/home/night/a", "a+");
fprintf(a, "%s\n", newstr);
fclose(a);
free(str);
return newstr;
}