This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository enlightenment.
View the commit online.
commit 225cbac56f67eae38417f5cd9111f7e6d1424284
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Wed Jul 20 15:53:56 2022 +0100
watchdog - fix size of ping seq buffer entries
---
src/bin/e_watchdog.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/bin/e_watchdog.c b/src/bin/e_watchdog.c
index 9936ac449..5e35e6d19 100644
--- a/src/bin/e_watchdog.c
+++ b/src/bin/e_watchdog.c
@@ -8,7 +8,7 @@ static void
_cb_watchdog_thread_pingpong_pipe(void *data EINA_UNUSED, void *buf, unsigned int bytes)
{
unsigned long long *seq = buf;
- unsigned long long seq_num = bytes / sizeof(int);
+ unsigned long long seq_num = bytes / sizeof(unsigned long long);
if (seq_num < 1)
{
@@ -54,8 +54,9 @@ _cb_watchdog_thread_pingpong(void *data EINA_UNUSED, Ecore_Thread *thread)
static void
_cb_watchdog_thread_pingpong_reply(void *data EINA_UNUSED, Ecore_Thread *thread EINA_UNUSED, void *msg)
{
- // repluy back to mainloop with same ping number
+ // reply back to mainloop with same ping number
unsigned long long *seq = msg;
+
ecore_pipe_write(_watchdog_pipe, seq, sizeof(unsigned long long));
free(seq);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.