From a494b6d595059d6fb6464935e429176a714d490d Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Thu, 04 Nov 2004 20:04:19 +0000 Subject: invalid opcode during xfer message shows the opcode itself now. git-svn-id: http://svn.klever.net/kin/pumpkin/trunk@48 fe716a7a-6dde-0310-88d9-d003556173a8 --- (limited to 'PumpKINDlg.cpp') diff --git a/PumpKINDlg.cpp b/PumpKINDlg.cpp index fc24596..b6b8a36 100644 --- a/PumpKINDlg.cpp +++ b/PumpKINDlg.cpp @@ -941,9 +941,13 @@ BOOL rv = TRUE; rv = FALSE; break; default: - ASSERT(m_Daddy); - m_Daddy->LogLine(IDS_LOG_XFEROPCODE); - // *** Self destruct maybe?? + { + ASSERT(m_Daddy); + CString tmp; + tmp.Format(IDS_LOG_XFEROPCODE,p->Opcode()); + m_Daddy->LogLine(tmp); + // *** Self destruct maybe?? + } break; } return rv; @@ -1021,9 +1025,13 @@ BOOL CWRQSocket::OnTFTP(tftp* p) Destroy(FALSE); return FALSE; default: - ASSERT(m_Daddy); - m_Daddy->LogLine(IDS_LOG_XFEROPCODE); - // *** Self destruct maybe?? + { + ASSERT(m_Daddy); + CString tmp; + tmp.Format(IDS_LOG_XFEROPCODE,p->Opcode()); + m_Daddy->LogLine(tmp); + // *** Self destruct maybe?? + } break; } return TRUE; -- cgit v0.9.0.2