Skip to content

Commit

Permalink
fix build with debug enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed May 24, 2024
1 parent d6dfbfa commit 10894b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/irisnet/corelib/netnames.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ void ServiceResolver::start(const QString &host, quint16 port, const QString &se
void ServiceResolver::start(const QStringList &services, const QString &transport, const QString &domain, int port)
{
#ifdef NETNAMES_DEBUG
NNDEBUG << "s:" << service << "t:" << transport << "d:" << domain << "p:" << port;
NNDEBUG << "s:" << services << "t:" << transport << "d:" << domain << "p:" << port;
#endif
/* clear SRV list */
d->srvList.clear();
Expand Down Expand Up @@ -1254,7 +1254,7 @@ void ServiceResolver::start(const QStringList &services, const QString &transpor
void ServiceResolver::handle_host_ready(const QString &service, const QList<XMPP::NameRecord> &rl)
{
#ifdef NETNAMES_DEBUG
NNDEBUG << "hl:" << r;
NNDEBUG << "hl:" << rl;
#endif

/* cleanup resolver */
Expand Down
2 changes: 1 addition & 1 deletion src/irisnet/noncore/cutestuff/bsocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class HappyEyeballsConnector : public QObject {
void connectToHost(const QStringList &services, const QString &transport, const QString &domain, quint16 port)
{
#ifdef BS_DEBUG
BSDEBUG << "s:" << service << "t:" << transport << "d:" << domain;
BSDEBUG << "s:" << services << "t:" << transport << "d:" << domain;
#endif
// this->service = service;
this->transport = transport;
Expand Down

0 comments on commit 10894b0

Please sign in to comment.