version 1.357, 2020/06/10 07:27:10 |
version 1.358, 2020/06/18 08:34:22 |
|
|
} |
} |
if (strcmp(next, "no-output") == 0) |
if (strcmp(next, "no-output") == 0) |
return (CLIENT_CONTROL_NOOUTPUT); |
return (CLIENT_CONTROL_NOOUTPUT); |
|
if (strcmp(next, "wait-exit") == 0) |
|
return (CLIENT_CONTROL_WAITEXIT); |
return (0); |
return (0); |
} |
} |
|
|
|
|
control_reset_offsets(c); |
control_reset_offsets(c); |
} |
} |
free(copy); |
free(copy); |
|
proc_send(c->peer, MSG_FLAGS, -1, &c->flags, sizeof c->flags); |
} |
} |
|
|
/* Get client flags. This is only flags useful to show to users. */ |
/* Get client flags. This is only flags useful to show to users. */ |
|
|
strlcat(s, "ignore-size,", sizeof s); |
strlcat(s, "ignore-size,", sizeof s); |
if (c->flags & CLIENT_CONTROL_NOOUTPUT) |
if (c->flags & CLIENT_CONTROL_NOOUTPUT) |
strlcat(s, "no-output,", sizeof s); |
strlcat(s, "no-output,", sizeof s); |
|
if (c->flags & CLIENT_CONTROL_WAITEXIT) |
|
strlcat(s, "wait-exit,", sizeof s); |
if (c->flags & CLIENT_CONTROL_PAUSEAFTER) { |
if (c->flags & CLIENT_CONTROL_PAUSEAFTER) { |
xsnprintf(tmp, sizeof tmp, "pause-after=%u,", |
xsnprintf(tmp, sizeof tmp, "pause-after=%u,", |
c->pause_age / 1000); |
c->pause_age / 1000); |