This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

#5707 Change update notification url

  • Loading branch information...
nlyan committed Oct 28, 2016
1 parent af62174 commit ef9842c81916cc5b5a2ab40f35bfc397823905c4
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/lib/synergy/ToolApp.cpp
@@ -146,17 +146,17 @@ ToolApp::notifyUpdate()
std::vector<String> parts = synergy::string::splitString(data, ':');
size_t count = parts.size();
- if (count == 3) {
- std::stringstream ss;
- ss << JSON_URL << "notify/upgrade";
- ss << "?from=" << parts[0];
- ss << "&to=" << parts[1];
- ss << "&serial=" << parts[2];
+ if (count == 3) {
+ std::stringstream ss;
+ ss << JSON_URL << "notify/update";
+ ss << "?from=" << parts[0];
+ ss << "&to=" << parts[1];
+ ss << "&serial=" << parts[2];
std::cout << ARCH->internet().get(ss.str()) << std::endl;
}
else {
- throw XSynergy("Invalid upgrade data.");
+ throw XSynergy("Invalid update data.");
}
}

0 comments on commit ef9842c

Please sign in to comment.