diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-09-20 20:13:34 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-09-20 20:13:34 +0300 |
commit | 8693064200ad015a6b6d07f99a3170fa89012a71 (patch) | |
tree | e5a7ad24c93fb24688233bf7ece27c8c17624c95 | |
parent | 021f74591d5a99287443517c618c1ed514334986 (diff) | |
download | ck-8693064200ad015a6b6d07f99a3170fa89012a71.tar.gz ck-8693064200ad015a6b6d07f99a3170fa89012a71.tar.bz2 ck-8693064200ad015a6b6d07f99a3170fa89012a71.zip |
Fix tree bug
-rw-r--r-- | src/dblayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dblayer.c b/src/dblayer.c index f97b70c..190cb05 100644 --- a/src/dblayer.c +++ b/src/dblayer.c @@ -465,7 +465,7 @@ int list_get_path_program_tree(DB *db, cklist *ckl) { } while (sqlite3_step(stmt) == SQLITE_ROW) { - char programName[STR_M]; + char programName[STR_M] = ""; strcat(programName, (char *)sqlite3_column_text(stmt, 0)); strcat(programName, ":"); list_add(ckl, programName); |