diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/file.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 941a741..3ef53c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 3.13) project(mscp C) -set(CMAKE_C_FLAGS "-Wall -g") - set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DDEBUG") add_executable(mscp src/main.c src/platform.c src/ssh.c src/file.c src/pprint.c) @@ -484,7 +484,7 @@ void chunk_dump(struct list_head *chunk_list) list_for_each_entry(c, chunk_list, list) { pr_debug("%s %s 0x%010lx-0x%010lx %lu-byte\n", - c->f->src_path, strloc(f->src_is_remote), + c->f->src_path, strloc(c->f->src_is_remote), c->off, c->off + c->len, c->len); } } |