forked from osmocom/wireshark
sync_pipe_write: Fixup a comment.
Use more accurate terminology. Change-Id: Ie753010640ee831650e408d0989971741e43ba70 Reviewed-on: https://code.wireshark.org/review/37399 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
095d897381
commit
93bf3fd3ae
|
@ -84,8 +84,7 @@ void
|
|||
sync_pipe_errmsg_to_parent(int pipe_fd, const char *error_msg,
|
||||
const char *secondary_error_msg)
|
||||
{
|
||||
|
||||
/* first write a "master header" with the length of the two messages plus their "slave headers" */
|
||||
/* Write a message header containing the length of the two messages followed by the primary and secondary error messagess */
|
||||
pipe_write_header(pipe_fd, SP_ERROR_MSG, (int) (strlen(error_msg) + 1 + 4 + strlen(secondary_error_msg) + 1 + 4));
|
||||
pipe_write_block(pipe_fd, SP_ERROR_MSG, error_msg);
|
||||
pipe_write_block(pipe_fd, SP_ERROR_MSG, secondary_error_msg);
|
||||
|
|
Loading…
Reference in New Issue