| 2823 | */ |
| 2824 | |
| 2825 | static int /* O - 1 if data is present, 0 otherwise */ |
| 2826 | have_document_data( |
| 2827 | ippeve_client_t *client) /* I - Client */ |
| 2828 | { |
| 2829 | char temp; /* Data */ |
| 2830 | |
| 2831 | |
| 2832 | if (httpGetState(client->http) != HTTP_STATE_POST_RECV) |
| 2833 | return (0); |
| 2834 | else |
| 2835 | return (httpPeek(client->http, &temp, 1) > 0); |
| 2836 | } |
| 2837 | |
| 2838 | |
| 2839 | /* |
no test coverage detected