Skip to content

Commit

Permalink
Merge branch 'operation-names-variables' into 'master'
Browse files Browse the repository at this point in the history
Replace bare string operation names with variables in BasicServer



See merge request !30
  • Loading branch information
alice40520 committed Mar 31, 2016
2 parents a71e674 + 6a43634 commit 06983c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BasicServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ void handle_put(http_request message) {
}
// [0] refers to the operation name
// Evaluated after size() to ensure legitimate access
else if(paths[0] == "AddPropertyAdmin" || paths[0] == "UpdatePropertyAdmin"){
else if(paths[0] == add_property_admin || paths[0] == update_property_admin){
message.reply(status_codes::NotImplemented);
return;
}
Expand Down

0 comments on commit 06983c0

Please sign in to comment.