Skip to content

Commit

Permalink
fixed typos (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
anancds authored Jan 19, 2021
1 parent 914fd9c commit 08fb534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/ps/internal/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ typedef unsigned __int64 uint64_t;
/*!
* \brief Get environment variable as int with default.
* \param key the name of environment variable.
* \param default_val the default value of environment vriable.
* \param default_val the default value of environment variable.
* \return The value received
*/
template<typename V>
Expand Down
2 changes: 1 addition & 1 deletion src/van.cc
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ void Van::PackMeta(const Meta& meta, char** meta_buf, int* buf_size) {
*buf_size = pb.ByteSize();
*meta_buf = new char[*buf_size + 1];
CHECK(pb.SerializeToArray(*meta_buf, *buf_size))
<< "failed to serialize protbuf";
<< "failed to serialize protobuf";
}

void Van::UnpackMeta(const char* meta_buf, int buf_size, Meta* meta) {
Expand Down

0 comments on commit 08fb534

Please sign in to comment.