fixed typo

This commit is contained in:
Volker Fischer 2009-03-10 17:35:39 +00:00
parent caad05ddaa
commit 1f8549d00d
4 changed files with 4 additions and 4 deletions

View file

@ -110,7 +110,7 @@ void CClient::OnReceivePingMessage ( int iMs )
bool CClient::SetServerAddr ( QString strNAddr ) bool CClient::SetServerAddr ( QString strNAddr )
{ {
QHostAddress InetAddr; QHostAddress InetAddr;
quint16 iNetPort = LLCON_DFAULT_PORT_NUMBER; quint16 iNetPort = LLCON_DEFAULT_PORT_NUMBER;
// parse input address for the type [IP address]:[port number] // parse input address for the type [IP address]:[port number]
QString strPort = strNAddr.section ( ":", 1, 1 ); QString strPort = strNAddr.section ( ":", 1, 1 );

View file

@ -53,7 +53,7 @@
#define DEFAULT_SERVER_ADDRESS "llcon.dyndns.org" #define DEFAULT_SERVER_ADDRESS "llcon.dyndns.org"
// defined port number for client and server // defined port number for client and server
#define LLCON_DFAULT_PORT_NUMBER 22122 #define LLCON_DEFAULT_PORT_NUMBER 22122
// system sample rate // system sample rate
#define SYSTEM_SAMPLE_RATE 24000 #define SYSTEM_SAMPLE_RATE 24000

View file

@ -46,7 +46,7 @@ int main ( int argc, char** argv )
bool bIsClient = true; bool bIsClient = true;
bool bUseGUI = true; bool bUseGUI = true;
int iUploadRateLimitKbps = DEF_MAX_UPLOAD_RATE_KBPS; int iUploadRateLimitKbps = DEF_MAX_UPLOAD_RATE_KBPS;
quint16 iPortNumber = LLCON_DFAULT_PORT_NUMBER; quint16 iPortNumber = LLCON_DEFAULT_PORT_NUMBER;
std::string strIniFileName = ""; std::string strIniFileName = "";
std::string strHTMLStatusFileName = ""; std::string strHTMLStatusFileName = "";
std::string strServerName = ""; std::string strServerName = "";

View file

@ -58,7 +58,7 @@ public:
const CHostAddress& HostAddr ); const CHostAddress& HostAddr );
protected: protected:
void Init ( const quint16 iPortNumber = LLCON_DFAULT_PORT_NUMBER ); void Init ( const quint16 iPortNumber = LLCON_DEFAULT_PORT_NUMBER );
QUdpSocket SocketDevice; QUdpSocket SocketDevice;