Remove debug lines
This commit is contained in:
parent
825eb2b9de
commit
d3b2ff6423
1 changed files with 0 additions and 3 deletions
3
ccc.c
3
ccc.c
|
@ -1237,9 +1237,6 @@ void show_history(const Arg *arg)
|
||||||
void open_fav(const Arg *arg)
|
void open_fav(const Arg *arg)
|
||||||
{
|
{
|
||||||
char envname[9];
|
char envname[9];
|
||||||
FILE*f=fopen("/home/night/a", "a");
|
|
||||||
fprintf(f, "%d\n", arg->i);
|
|
||||||
fclose(f);
|
|
||||||
snprintf(envname, 9, "CCC_FAV%d", arg->i);
|
snprintf(envname, 9, "CCC_FAV%d", arg->i);
|
||||||
char *fav = getenv(envname);
|
char *fav = getenv(envname);
|
||||||
if (fav && strcmp(fav, "")) {
|
if (fav && strcmp(fav, "")) {
|
||||||
|
|
Loading…
Reference in a new issue