diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.c b/src/client.c index d5f31e4..403340a 100644 --- a/src/client.c +++ b/src/client.c | |||
| @@ -231,7 +231,7 @@ static int send_pkt(struct mux_client *client, uint32_t tag, enum usbmuxd_msgtyp | |||
| 231 | usbmuxd_log(LL_DEBUG, "%s: Enlarging client %d output buffer %d -> %d", __func__, client->fd, client->ob_capacity, new_size); | 231 | usbmuxd_log(LL_DEBUG, "%s: Enlarging client %d output buffer %d -> %d", __func__, client->fd, client->ob_capacity, new_size); |
| 232 | new_buf = realloc(client->ob_buf, new_size); | 232 | new_buf = realloc(client->ob_buf, new_size); |
| 233 | if (!new_buf) { | 233 | if (!new_buf) { |
| 234 | usbmuxd_log(LL_FATAL, "%s: Failed to realloc.\n", __func__); | 234 | usbmuxd_log(LL_FATAL, "%s: Failed to realloc.", __func__); |
| 235 | return -1; | 235 | return -1; |
| 236 | } | 236 | } |
| 237 | client->ob_buf = new_buf; | 237 | client->ob_buf = new_buf; |
