Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes websocketclient.

  • Loading branch information...
commit f17f5f724e8ec75e78f1821d44db3b985fcd9324 1 parent 400bcd2
@specialunderwear authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Makefile
  2. +1 −1  src/socketio/SocketIOHandler.hpp
View
2  Makefile
@@ -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
View
2  src/socketio/SocketIOHandler.hpp
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.