summaryrefslogtreecommitdiffstats
path: root/src/afc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afc.c')
-rw-r--r--src/afc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afc.c b/src/afc.c
index 4367add..f872ed9 100644
--- a/src/afc.c
+++ b/src/afc.c
@@ -76,7 +76,7 @@ afc_error_t afc_client_new(idevice_t device, uint16_t port, afc_client_t * clien
return AFC_E_MUX_ERROR;
}
- afc_client_t client_loc = (afc_client_t) malloc(sizeof(struct afc_client_int));
+ afc_client_t client_loc = (afc_client_t) malloc(sizeof(struct afc_client_private));
client_loc->connection = connection;
/* allocate a packet */