diff options
| author | James Cook <james@lindenlab.com> | 2009-12-01 08:51:32 -0800 |
|---|---|---|
| committer | James Cook <james@lindenlab.com> | 2009-12-01 08:51:32 -0800 |
| commit | 5e11affddb1b8816f57f9314381486c00033e080 (patch) | |
| tree | b21e2486be2daaa9b249588ce7d88f0f9f472814 /indra/llmessage/machine.h | |
| parent | 677938e6531209ca9ccd29146454af67f1c743c7 (diff) | |
| parent | bf34e572e7acd0f80d103318b76b4abe32c802d3 (diff) | |
merge
Diffstat (limited to 'indra/llmessage/machine.h')
| -rw-r--r-- | indra/llmessage/machine.h | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/indra/llmessage/machine.h b/indra/llmessage/machine.h index 63a038159e..6da8e5e04e 100644 --- a/indra/llmessage/machine.h +++ b/indra/llmessage/machine.h @@ -33,7 +33,6 @@ #ifndef LL_MACHINE_H #define LL_MACHINE_H -#include "llerror.h" #include "net.h" #include "llhost.h" @@ -79,31 +78,8 @@ public: void setMachineIP(U32 ip) { mHost.setAddress(ip); } void setMachineHost(const LLHost &host) { mHost = host; } - void setMachinePort(S32 port) - { - if (port < 0) - { - llinfos << "Can't assign a negative number to LLMachine::mPort" << llendl; - mHost.setPort(0); - } - else - { - mHost.setPort(port); - } - } - - void setControlPort( S32 port ) - { - if (port < 0) - { - llinfos << "Can't assign a negative number to LLMachine::mControlPort" << llendl; - mControlPort = 0; - } - else - { - mControlPort = port; - } - } + void setMachinePort(S32 port); + void setControlPort( S32 port ); // member variables |
