diff options
-rw-r--r-- | src/mds-clipboard.c | 2 | ||||
-rw-r--r-- | src/mds-clipboard.h | 2 | ||||
-rw-r--r-- | src/mds-echo.c | 2 | ||||
-rw-r--r-- | src/mds-echo.h | 2 | ||||
-rw-r--r-- | src/mds-kkbd.c | 2 | ||||
-rw-r--r-- | src/mds-kkbd.h | 2 | ||||
-rw-r--r-- | src/mds-registry/util.c | 2 | ||||
-rw-r--r-- | src/mds-registry/util.h | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/src/mds-clipboard.c b/src/mds-clipboard.c index b41a431..8a52381 100644 --- a/src/mds-clipboard.c +++ b/src/mds-clipboard.c @@ -396,7 +396,7 @@ int master_loop(void) * * @param message The message to send * @param length The length of the message - * @return Non-zero on success + * @return Zero on success, -1 on error */ int full_send(const char* message, size_t length) { diff --git a/src/mds-clipboard.h b/src/mds-clipboard.h index 5d55e89..0c23ffb 100644 --- a/src/mds-clipboard.h +++ b/src/mds-clipboard.h @@ -94,7 +94,7 @@ typedef struct clipitem * * @param message The message to send * @param length The length of the message - * @return Non-zero on success + * @return Zero on success, -1 on error */ int full_send(const char* message, size_t length); diff --git a/src/mds-echo.c b/src/mds-echo.c index 904561d..e1366eb 100644 --- a/src/mds-echo.c +++ b/src/mds-echo.c @@ -336,7 +336,7 @@ int echo_message(void) * * @param message The message to send * @param length The length of the message - * @return Non-zero on success + * @return Zero on success, -1 on error */ int full_send(const char* message, size_t length) { diff --git a/src/mds-echo.h b/src/mds-echo.h index a51302f..fd88e15 100644 --- a/src/mds-echo.h +++ b/src/mds-echo.h @@ -35,7 +35,7 @@ int echo_message(void); * * @param message The message to send * @param length The length of the message - * @return Non-zero on success + * @return Zero on success, -1 on error */ int full_send(const char* message, size_t length); diff --git a/src/mds-kkbd.c b/src/mds-kkbd.c index 95e4412..c228785 100644 --- a/src/mds-kkbd.c +++ b/src/mds-kkbd.c @@ -1396,7 +1396,7 @@ void signal_all(int signo) * * @param message The message to send * @param length The length of the message - * @return Non-zero on success + * @return Zero on success, -1 on error */ int full_send(const char* message, size_t length) { diff --git a/src/mds-kkbd.h b/src/mds-kkbd.h index 24f058e..3ce2124 100644 --- a/src/mds-kkbd.h +++ b/src/mds-kkbd.h @@ -119,7 +119,7 @@ int remap_led_cmdline(char* arg); * * @param message The message to send * @param length The length of the message - * @return Non-zero on success + * @return Zero on success, -1 on error */ int full_send(const char* message, size_t length); diff --git a/src/mds-registry/util.c b/src/mds-registry/util.c index 51937b7..551904a 100644 --- a/src/mds-registry/util.c +++ b/src/mds-registry/util.c @@ -62,7 +62,7 @@ void reg_table_free_value(size_t obj) * * @param message The message to send * @param length The length of the message - * @return Non-zero on success + * @return Zero on success, -1 on error */ int full_send(const char* message, size_t length) { diff --git a/src/mds-registry/util.h b/src/mds-registry/util.h index 365a276..ea0d492 100644 --- a/src/mds-registry/util.h +++ b/src/mds-registry/util.h @@ -41,7 +41,7 @@ void reg_table_free_value(size_t obj); * * @param message The message to send * @param length The length of the message - * @return Non-zero on success + * @return Zero on success, -1 on error */ int full_send(const char* message, size_t length); |