summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-05-23 14:11:59 +0200
committerGravatar Martin Szulecki2013-05-23 14:11:59 +0200
commitc68121961226dcce52ad38daced6ad848555849e (patch)
tree82598b0efc78d61911fa0a4feb5e96155d02b445
parent99b7e4fbf79e612f7a2a880b49f6bf2e759bd5a0 (diff)
downloadlibimobiledevice-c68121961226dcce52ad38daced6ad848555849e.tar.gz
libimobiledevice-c68121961226dcce52ad38daced6ad848555849e.tar.bz2
heartbeat: Fix wrong error codes in documentation
-rw-r--r--src/heartbeat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/heartbeat.c b/src/heartbeat.c
index b33f236..e03b44e 100644
--- a/src/heartbeat.c
+++ b/src/heartbeat.c
@@ -143,8 +143,8 @@ heartbeat_error_t heartbeat_client_free(heartbeat_client_t client)
* @param client The heartbeat client
* @param plist The plist to send
*
- * @return DIAGNOSTICS_RELAY_E_SUCCESS on success,
- * DIAGNOSTICS_RELAY_E_INVALID_ARG when client or plist is NULL
+ * @return HEARTBEAT_E_SUCCESS on success,
+ * HEARTBEAT_E_INVALID_ARG when client or plist is NULL
*/
heartbeat_error_t heartbeat_send(heartbeat_client_t client, plist_t plist)
{
@@ -167,8 +167,8 @@ heartbeat_error_t heartbeat_send(heartbeat_client_t client, plist_t plist)
* @param client The heartbeat client
* @param plist The plist to store the received data
*
- * @return DIAGNOSTICS_RELAY_E_SUCCESS on success,
- * DIAGNOSTICS_RELAY_E_INVALID_ARG when client or plist is NULL
+ * @return HEARTBEAT_E_SUCCESS on success,
+ * HEARTBEAT_E_INVALID_ARG when client or plist is NULL
*/
heartbeat_error_t heartbeat_receive(heartbeat_client_t client, plist_t * plist)
{