version 1.50, 2017/04/21 22:23:24 |
version 1.51, 2017/04/22 10:22:39 |
|
|
const char *session, *window, *pane; |
const char *session, *window, *pane; |
int window_only = 0, pane_only = 0; |
int window_only = 0, pane_only = 0; |
|
|
|
/* Can fail flag implies quiet. */ |
|
if (flags & CMD_FIND_CANFAIL) |
|
flags |= CMD_FIND_QUIET; |
|
|
/* Log the arguments. */ |
/* Log the arguments. */ |
if (target == NULL) |
if (target == NULL) |
log_debug("%s: target none, type %d", __func__, type); |
log_debug("%s: target none, type %d", __func__, type); |
|
|
log_debug("%s: error", __func__); |
log_debug("%s: error", __func__); |
|
|
free(copy); |
free(copy); |
|
if (flags & CMD_FIND_CANFAIL) |
|
return (0); |
return (-1); |
return (-1); |
|
|
found: |
found: |