mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2025-12-06 05:32:02 +01:00
Revert "Handle D-Plus reply of "BUSY" as a rejection. Treat "OKRO" in the same way."
This reverts commit 46b78d3335.
This commit is contained in:
parent
46b78d3335
commit
f9f233f2cb
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2010,2012,2013,2020 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2010,2012,2013 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -252,10 +252,10 @@ bool CConnectData::setDPlusData(const unsigned char* data, unsigned int length,
|
|||
wxString reply((const char*)(data + 4U), wxConvLocal, 4U);
|
||||
wxLogMessage(wxT("D-Plus reply is %.4s"), reply.c_str());
|
||||
|
||||
if (::memcmp(data + 4U, "OKRW", 4U) != 0)
|
||||
return false;
|
||||
else
|
||||
if (::memcmp(data + 4U, "OKRW", 4U) == 0)
|
||||
m_type = CT_ACK;
|
||||
else
|
||||
m_type = CT_NAK;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,9 @@
|
|||
const wxString VENDOR_NAME = wxT("G4KLX");
|
||||
|
||||
#if defined(__WXDEBUG__)
|
||||
const wxString VERSION = wxT("20200803 - DEBUG");
|
||||
const wxString VERSION = wxT("20200621 - DEBUG");
|
||||
#else
|
||||
const wxString VERSION = wxT("20190803");
|
||||
const wxString VERSION = wxT("20190621");
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue