Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bnet: corrected a typo
  • Loading branch information
franku committed Jan 4, 2019
1 parent ab2bc8f commit b7de000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/lib/bnet.cc
Expand Up @@ -654,11 +654,11 @@ bool BareosSocket::ReceiveAndEvaluateResponseMessage(uint32_t &id_out, BStringLi
return EvaluateResponseMessageId(message, id_out, args_out);
}

bool BareosSocket::FormatAndSendResponseMessage(uint32_t id, const BStringList &list_of_agruments)
bool BareosSocket::FormatAndSendResponseMessage(uint32_t id, const BStringList &list_of_arguments)
{
std::string m = std::to_string(id);
m += AsciiControlCharacters::RecordSeparator();
m += list_of_agruments.Join(AsciiControlCharacters::RecordSeparator());
m += list_of_arguments.Join(AsciiControlCharacters::RecordSeparator());

StartTimer(30); //30 seconds
if (send(m.c_str(), m.size()) <=0 ) {
Expand Down

0 comments on commit b7de000

Please sign in to comment.