diff options
author | Ryo Nakamura <upa@haeena.net> | 2022-10-22 23:57:36 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2022-10-22 23:57:36 +0900 |
commit | 3a22043f41a53469d6f8cafeebfd962a12cbbd2a (patch) | |
tree | 3d583381cb75e2ab326a9b8d3b63fd8256cd28bb /src/util.h | |
parent | c38197d7957945b6a77edf9f23846fb8bd018946 (diff) |
copy over multiple connection works, but not checked file integirty
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -23,7 +23,9 @@ extern int verbose; #define pr_v3(fmt, ...) pr_v(3, fmt, ##__VA_ARGS__) -#define pr_info(fmt, ...) fprintf(stdout, "%s(): " fmt, \ +#define pr(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__) + +#define pr_info(fmt, ...) fprintf(stderr, "INFO:%s(): " fmt, \ __func__, ##__VA_ARGS__) #define pr_warn(fmt, ...) fprintf(stderr, "\x1b[1m\x1b[33m" \ |