Commit 7401fd9f authored by Stephen Morris's avatar Stephen Morris

[1954] Minor changes

Remove a duplicated line in commandOptions::reset() and corrected
header comments in initClientsNum().
parent a3f8c40b
......@@ -54,7 +54,6 @@ CommandOptions::reset() {
rate_ = 0;
report_delay_ = 0;
clients_num_ = 0;
clients_num_ = 0;
mac_prefix_.assign(mac, mac + 6);
base_.resize(0);
num_request_.resize(0);
......
......@@ -293,9 +293,11 @@ private:
/// \throw InvalidParameter if string is empty
std::string nonEmptyString(const std::string& errmsg) const;
/// \brief Calculates max_random_ and random_range_
/// \brief Set number of clients
///
/// Interprets the getopt() "opt" global variable as the number of clients
/// (a non-negative number). This value is specified by the "-R" switch.
///
/// \param opt Value of -R option
/// \throw InvalidParameter if -R<value> is wrong
void initClientsNum();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment