newlines at end of all files #references #72

This commit is contained in:
Peter Thorson
2012-02-20 06:41:09 -06:00
parent 9e93420728
commit c2cbe7110d
11 changed files with 11 additions and 11 deletions

View File

@@ -96,4 +96,4 @@ namespace wscmd {
}
} // namespace wscmd
#endif // WSCMD_HPP
#endif // WSCMD_HPP

View File

@@ -53,4 +53,4 @@ void echo_client_handler::on_message(session_ptr s,const std::string &msg) {
void echo_client_handler::on_message(session_ptr s,
const std::vector<unsigned char> &data) {
s->send(data);
}
}

View File

@@ -2,7 +2,7 @@ BOOST_LIB_PATH ?= /usr/local/lib
BOOST_INCLUDE_PATH ?= /usr/local/include
CPP11 ?=
CFLAGS = -O2 $(CPP11) -I$(BOOST_INCLUDE_PATH)
CFLAGS = -Wall -O2 $(CPP11) -I$(BOOST_INCLUDE_PATH)
LDFLAGS = -L$(BOOST_LIB_PATH)
CXX ?= c++

View File

@@ -120,4 +120,4 @@ std::string base64_decode(std::string const& encoded_string) {
}
return ret;
}
}

View File

@@ -1,4 +1,4 @@
#include <string>
std::string base64_encode(unsigned char const* , unsigned int len);
std::string base64_decode(std::string const& s);
std::string base64_decode(std::string const& s);

View File

@@ -63,4 +63,4 @@ inline std::string md5_hash_hex(const std::string& input) {
} // websocketpp
#endif // WEBSOCKETPP_MD5_WRAPPER_HPP
#endif // WEBSOCKETPP_MD5_WRAPPER_HPP

View File

@@ -253,4 +253,4 @@ typedef boost::intrusive_ptr<data> data_ptr;
} // namespace message
} // namespace websocketpp
#endif // WEBSOCKET_DATA_MESSAGE_HPP
#endif // WEBSOCKET_DATA_MESSAGE_HPP

View File

@@ -92,4 +92,4 @@ std::string to_hex(const std::string& input) {
}
return output;
}
}

View File

@@ -287,4 +287,4 @@ void hybi_header::clear_masking_key() {
// this is a no-op as clearing the mask bit also changes the get_header_len
// method to not include these byte ranges. Whenever the masking bit is re-
// set a new key is generated anyways.
}
}

View File

@@ -36,4 +36,4 @@ boost_rng::boost_rng() : m_gen(m_rng,
int32_t boost_rng::gen() {
return m_gen();
}
}

View File

@@ -87,4 +87,4 @@ inline bool validate(const std::string& s) {
} // namespace utf8_validator
#endif // UTF8_VALIDATOR_HPP
#endif // UTF8_VALIDATOR_HPP