#include <talloc/talloc.h>
#include "ui/common/discover-client.h"
-#include "ui/common/device.h"
#include "pb-protocol/pb-protocol.h"
struct discover_client {
message = pb_protocol_read_message(client, client->fd);
if (!message)
- return 0;
+ return -1;
switch (message->action) {
case PB_PROTOCOL_ACTION_ADD: