summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/asr.c2
-rw-r--r--src/asr.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/asr.c b/src/asr.c
index e3019e6..20647a6 100644
--- a/src/asr.c
+++ b/src/asr.c
@@ -148,7 +148,7 @@ int asr_receive(asr_client_t asr, plist_t* data) {
return 0;
}
-int asr_send(asr_client_t asr, plist_t* data) {
+int asr_send(asr_client_t asr, plist_t data) {
uint32_t size = 0;
char* buffer = NULL;
diff --git a/src/asr.h b/src/asr.h
index bddcbe2..b3336a5 100644
--- a/src/asr.h
+++ b/src/asr.h
@@ -43,7 +43,7 @@ typedef struct asr_client *asr_client_t;
int asr_open_with_timeout(idevice_t device, asr_client_t* asr);
void asr_set_progress_callback(asr_client_t asr, asr_progress_cb_t, void* userdata);
-int asr_send(asr_client_t asr, plist_t* data);
+int asr_send(asr_client_t asr, plist_t data);
int asr_receive(asr_client_t asr, plist_t* data);
int asr_send_buffer(asr_client_t asr, const char* data, uint32_t size);
void asr_free(asr_client_t asr);