mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 03:24:58 +08:00
fix on debug compile
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user