mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 11:18:48 +00:00
Do not log NULL text.
This commit is contained in:
parent
8d238491d0
commit
ba20e46bdc
@ -528,7 +528,7 @@ mode_tree_add(struct mode_tree_data *mtd, struct mode_tree_item *parent,
|
||||
struct mode_tree_item *mti, *saved;
|
||||
|
||||
log_debug("%s: %llu, %s %s", __func__, (unsigned long long)tag,
|
||||
name, text);
|
||||
name, (text == NULL ? "" : text));
|
||||
|
||||
mti = xcalloc(1, sizeof *mti);
|
||||
mti->parent = parent;
|
||||
|
Loading…
Reference in New Issue
Block a user