diff options
| author | 2013-12-11 00:35:02 +0100 | |
|---|---|---|
| committer | 2013-12-11 00:35:02 +0100 | |
| commit | edc385ef6a78faa2a4bd8d37d80d88986544442f (patch) | |
| tree | c90b13ba44b4957c3fa8d68ae61ad0c9be4efa90 /src | |
| parent | 37efc3afb8d2c27c747426f0deb9e574c7ce3ec8 (diff) | |
| download | usbmuxd-edc385ef6a78faa2a4bd8d37d80d88986544442f.tar.gz usbmuxd-edc385ef6a78faa2a4bd8d37d80d88986544442f.tar.bz2 | |
fix compilation when compiling without plist support
Diffstat (limited to 'src')
| -rw-r--r-- | src/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c index aa276cd..c8fb470 100644 --- a/src/client.c +++ b/src/client.c | |||
| @@ -190,6 +190,7 @@ static int send_pkt(struct mux_client *client, uint32_t tag, enum usbmuxd_msgtyp | |||
| 190 | return hdr.length; | 190 | return hdr.length; |
| 191 | } | 191 | } |
| 192 | 192 | ||
| 193 | #ifdef HAVE_PLIST | ||
| 193 | static int send_plist_pkt(struct mux_client *client, uint32_t tag, plist_t plist) | 194 | static int send_plist_pkt(struct mux_client *client, uint32_t tag, plist_t plist) |
| 194 | { | 195 | { |
| 195 | int res = -1; | 196 | int res = -1; |
| @@ -204,6 +205,7 @@ static int send_plist_pkt(struct mux_client *client, uint32_t tag, plist_t plist | |||
| 204 | } | 205 | } |
| 205 | return res; | 206 | return res; |
| 206 | } | 207 | } |
| 208 | #endif | ||
| 207 | 209 | ||
| 208 | static int send_result(struct mux_client *client, uint32_t tag, uint32_t result) | 210 | static int send_result(struct mux_client *client, uint32_t tag, uint32_t result) |
| 209 | { | 211 | { |
