From 1f8549d00d1885fe788d8d4cf107548000fb6969 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Tue, 10 Mar 2009 17:35:39 +0000 Subject: [PATCH] fixed typo --- src/client.cpp | 2 +- src/global.h | 2 +- src/main.cpp | 2 +- src/socket.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client.cpp b/src/client.cpp index aac1fe2a..396105ae 100755 --- a/src/client.cpp +++ b/src/client.cpp @@ -110,7 +110,7 @@ void CClient::OnReceivePingMessage ( int iMs ) bool CClient::SetServerAddr ( QString strNAddr ) { QHostAddress InetAddr; - quint16 iNetPort = LLCON_DFAULT_PORT_NUMBER; + quint16 iNetPort = LLCON_DEFAULT_PORT_NUMBER; // parse input address for the type [IP address]:[port number] QString strPort = strNAddr.section ( ":", 1, 1 ); diff --git a/src/global.h b/src/global.h index 9f8c673e..fc690b45 100755 --- a/src/global.h +++ b/src/global.h @@ -53,7 +53,7 @@ #define DEFAULT_SERVER_ADDRESS "llcon.dyndns.org" // defined port number for client and server -#define LLCON_DFAULT_PORT_NUMBER 22122 +#define LLCON_DEFAULT_PORT_NUMBER 22122 // system sample rate #define SYSTEM_SAMPLE_RATE 24000 diff --git a/src/main.cpp b/src/main.cpp index 6a8af240..dc043cdf 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -46,7 +46,7 @@ int main ( int argc, char** argv ) bool bIsClient = true; bool bUseGUI = true; int iUploadRateLimitKbps = DEF_MAX_UPLOAD_RATE_KBPS; - quint16 iPortNumber = LLCON_DFAULT_PORT_NUMBER; + quint16 iPortNumber = LLCON_DEFAULT_PORT_NUMBER; std::string strIniFileName = ""; std::string strHTMLStatusFileName = ""; std::string strServerName = ""; diff --git a/src/socket.h b/src/socket.h index 04483245..b0fc925c 100755 --- a/src/socket.h +++ b/src/socket.h @@ -58,7 +58,7 @@ public: const CHostAddress& HostAddr ); protected: - void Init ( const quint16 iPortNumber = LLCON_DFAULT_PORT_NUMBER ); + void Init ( const quint16 iPortNumber = LLCON_DEFAULT_PORT_NUMBER ); QUdpSocket SocketDevice;