version 1.16, 2016/10/16 19:04:05 |
version 1.17, 2018/11/07 07:58:16 |
|
|
struct client *c = item->client; |
struct client *c = item->client; |
struct wait_item *wi; |
struct wait_item *wi; |
|
|
if (c == NULL || c->session != NULL) { |
if (c == NULL) { |
cmdq_error(item, "not able to wait"); |
cmdq_error(item, "not able to wait"); |
return (CMD_RETURN_ERROR); |
return (CMD_RETURN_ERROR); |
} |
} |
|
|
{ |
{ |
struct wait_item *wi; |
struct wait_item *wi; |
|
|
if (item->client == NULL || item->client->session != NULL) { |
if (item->client == NULL) { |
cmdq_error(item, "not able to lock"); |
cmdq_error(item, "not able to lock"); |
return (CMD_RETURN_ERROR); |
return (CMD_RETURN_ERROR); |
} |
} |