commit 4b1ecb1d6273946d4db6e8b428be24e90fabf484
parent 063884af53ec02906c8e7726468b234276eef3ca
Author: Remy Noulin <loader2x@gmail.com>
Date: Mon, 10 Jul 2023 15:02:53 +0200
remove setTop workaround, bug is fixed in libsheepy
heartbeat.c | 6 ------
1 file changed, 6 deletions(-)
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git a/heartbeat.c b/heartbeat.c
@@ -365,13 +365,7 @@ void monitor(void) {
if (ev.ch == 'q') goto done;
elif (ev.ch == 'c') {
clearTime = getCurrentUnixTime();
- // bug in libsheepy, top can be set only once
- freeG(ct);
setTopG(ct, clearTime);
- /* // bug in libsheepy, top can be set only once */
- /* smallIntt *v = allocSmallInt(clearTime); */
- /* sFree((smallt *)ct->topI); */
- /* ct->topI = (sIntt *)toSmallt((baset*)v); */
writeFileG(ct, ctPath);
}
break;