diff options
Diffstat (limited to 'src/address.cc')
-rw-r--r-- | src/address.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/address.cc b/src/address.cc index 7739500..eff4ccd 100644 --- a/src/address.cc +++ b/src/address.cc @@ -5,7 +5,9 @@ * @date 2005 * ---------------------------------------------------------------- **/ #include "address.h" + #include "convert.h" + #include <string> using namespace ::std; @@ -19,7 +21,8 @@ Address::Address(const string &name, const string &addr) if (pos != string::npos) { this->local = addr.substr(0, pos); this->host = addr.substr(pos + 1); - } else this->local = addr; + } else + this->local = addr; } //------------------------------------------------------------------------ |