Index: rlz/lib/rlz_lib.cc |
diff --git a/rlz/lib/rlz_lib.cc b/rlz/lib/rlz_lib.cc |
index 6d88e290cdd44fbb6616cc3d1f355fd65a334c56..081f80b0d6a5915b180ebbbdb79404b6f279e409 100644 |
--- a/rlz/lib/rlz_lib.cc |
+++ b/rlz/lib/rlz_lib.cc |
@@ -377,29 +377,6 @@ bool FormFinancialPingRequest(Product product, const AccessPoint* access_points, |
return true; |
} |
-bool PingFinancialServer(Product product, const char* request, char* response, |
- size_t response_buffer_size) { |
- if (!response || response_buffer_size == 0) |
- return false; |
- response[0] = 0; |
- |
- // Check if the time is right to ping. |
- if (!FinancialPing::IsPingTime(product, false)) |
- return false; |
- |
- // Send out the ping. |
- std::string response_string; |
- if (!FinancialPing::PingServer(request, &response_string)) |
- return false; |
- |
- if (response_string.size() >= response_buffer_size) |
- return false; |
- |
- strncpy(response, response_string.c_str(), response_buffer_size); |
- response[response_buffer_size - 1] = 0; |
- return true; |
-} |
- |
bool IsPingResponseValid(const char* response, int* checksum_idx) { |
if (!response || !response[0]) |
return false; |