Help - Search - Member List - Calendar
Full Version: minor bug, %s but arg?
eMule Plus Forums > Development > Development
xrmb
in ListenSocket.cpp -> CClientReqSocket::ProcessPacket()

AddDebugLogLine(false, RGB_LOG_DIMMED + _T("Client %s (%s) added to filtered clients due to file scanning (%s)"), m_pClient->GetFullIP(), GetClientNameAndVersionString(m_pClient));

what's the (%s) at the end for?


btw: is this a development post or bugreport?
Aw3
QUOTE (xrmb @ May 12 2004, 03:42)
what's the (%s) at the end for?

To get an exception laugh.gif.

Really it's a bug report, but from the other side it's development.
DonGato
Yes, when there is code attached to fix something it should be added to development.
xrmb
Sorry, I've absolutely no idea how to fix that problem wink.gif

I'm surprised that the super-duper-Iso-conform visual c++ compiler gives no warning here... gcc would have smile.gif
Aw3
QUOTE (xrmb @ May 12 2004, 11:54)
I'm surprised that the super-duper-Iso-conform visual c++ compiler gives no warning here... gcc would have smile.gif

Because if you add all possible warning to VC++, M$ code (even H-files) won't compile laugh.gif.
VC++ doesn't report even a half of possible warnings...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.