summaryrefslogtreecommitdiffstats
path: root/src/libirecovery.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-11-28 22:51:22 +0100
committerGravatar Nikias Bassen2012-11-28 22:51:22 +0100
commitfe3ec2e29f4bf25aa47506ed60ea7310387ff166 (patch)
tree156888a00a76462942249ecaab677c3f0eff96f9 /src/libirecovery.c
parent364ce205e3428fbc6ccb73c6e94437c083d73406 (diff)
downloadlibirecovery-fe3ec2e29f4bf25aa47506ed60ea7310387ff166.tar.gz
libirecovery-fe3ec2e29f4bf25aa47506ed60ea7310387ff166.tar.bz2
irecv_send_command/irecv_event_t use const char* instead of char*
Diffstat (limited to 'src/libirecovery.c')
-rw-r--r--src/libirecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index 63072c6..f2c8798 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -835,7 +835,7 @@ static irecv_error_t irecv_send_command_raw(irecv_client_t client, const char* c
return IRECV_E_SUCCESS;
}
-irecv_error_t irecv_send_command(irecv_client_t client, char* command) {
+irecv_error_t irecv_send_command(irecv_client_t client, const char* command) {
irecv_error_t error = 0;
if (check_context(client) != IRECV_E_SUCCESS) return IRECV_E_NO_DEVICE;