lchat

A line oriented chat front end for ii.
git clone git://git.suckless.org/lchat
Log | Files | Refs | README

commit 9d1bae536e78c285543f6b7b4594aa603e75faa8
parent b04323cbd25293b64b73cf544cb3af077e7a0050
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date:   Thu, 20 Oct 2022 09:47:23 +0200

test: remove unused debugging code

Diffstat:
Msl_test.c | 14--------------
1 file changed, 0 insertions(+), 14 deletions(-)

diff --git a/sl_test.c b/sl_test.c @@ -13,20 +13,6 @@ strokes(struct slackline *sl, const char *str) } static void -print_state(struct slackline *sl) -{ - size_t l = sl->last - sl->buf; - - printf("rcur: %zu bcur: %zu rlen: %zu blen: %zu l: %zu buf: \"%s\" ", - sl->rcur, sl->bcur, sl->rlen, sl->blen, l, sl->buf); - - for (size_t i = 0; i < strlen(sl->buf); i++) - printf("%X", sl->buf[i] & 0xff); - - putchar('\n'); -} - -static void check_init(struct slackline *sl) { assert(sl != NULL);