diff options
Diffstat (limited to 'src/screenshotr.c')
| -rw-r--r-- | src/screenshotr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screenshotr.c b/src/screenshotr.c index 07c51ca..380d28c 100644 --- a/src/screenshotr.c +++ b/src/screenshotr.c | |||
| @@ -86,7 +86,7 @@ screenshotr_error_t screenshotr_client_new(idevice_t device, uint16_t port, | |||
| 86 | return ret; | 86 | return ret; |
| 87 | } | 87 | } |
| 88 | 88 | ||
| 89 | screenshotr_client_t client_loc = (screenshotr_client_t) malloc(sizeof(struct screenshotr_client_int)); | 89 | screenshotr_client_t client_loc = (screenshotr_client_t) malloc(sizeof(struct screenshotr_client_private)); |
| 90 | client_loc->parent = dlclient; | 90 | client_loc->parent = dlclient; |
| 91 | 91 | ||
| 92 | /* perform handshake */ | 92 | /* perform handshake */ |
