From e6094d8ee57e9660e8f460bab027e6ac4bd24b94 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Mon, 25 May 2026 19:46:54 +0200 Subject: [PATCH] =?UTF-8?q?Debug-Logging=20f=C3=BCr=20NCP22/25?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/nwconn.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/nwconn.c b/src/nwconn.c index 55173b2..1772305 100644 --- a/src/nwconn.c +++ b/src/nwconn.c @@ -1088,9 +1088,16 @@ static int handle_ncp_serv(void) input->attrib, GET_BE32(input->f.searchsequence), &(input->f)); - if (result<0) - do_druck++; - /* TODO !!!!!!! */ + if (result < 0) { + completition = (uint8)(-result); + XDPRINTF((5,0, + "NCP22/25 SetDirFileInfo: dh=%d attr=0x%02x seq=0x%08lx result=%d cc=0x%02x", + (int)input->dir_handle, + (int)input->attrib, + (unsigned long)GET_BE32(input->f.searchsequence), + result, + (unsigned int)completition)); + } } break;