Permalink
Browse files

fixes websocketclient.

  • Loading branch information...
specialunderwear committed Jun 8, 2012
1 parent 400bcd2 commit f17f5f724e8ec75e78f1821d44db3b985fcd9324
Showing with 2 additions and 2 deletions.
  1. +1 −1 Makefile
  2. +1 −1 src/socketio/SocketIOHandler.hpp
View
@@ -89,7 +89,7 @@ lib/libwebsocketpp.a: $(WEBSOCKETPP_BUILD)/data.o $(WEBSOCKETPP_BUILD)/hybi_head
# WEBSOCKETCLIENT
#####################################
-build/websocketclient.o: src/websocketclient.cpp
+build/websocketclient.o: src/websocketclient.cpp src/socketio/SocketIOHandler.hpp
g++ src/websocketclient.cpp $(INCLUDE_DIRS) $(CFLAGS) -c -o build/websocketclient.o
build/ActionSequence.o: src/sequence/ActionSequence.cpp
@@ -95,7 +95,7 @@ namespace socketio {
std::string _parse_session_id(const std::string &message) {
Json::Value root = _parse_message(message);
- return root["args"][0]["SessionID"].asString();
+ return root["args"][0]["sessionId"].asString();
}
void _log_message(const std::string &message, const boost::format &next_message) {

0 comments on commit f17f5f7

Please sign in to comment.