Skip to content

Commit

Permalink
Fix code sanity near refactored createSendingMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
wdoekes committed Oct 25, 2021
1 parent d8899fc commit ca79c1f
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 56 deletions.
10 changes: 4 additions & 6 deletions include/call.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,10 @@ class call : virtual public task, virtual public listener, public virtual socket
bool rejectCall();
double get_rhs(CAction *currentAction);

// P_index use for message index in scenario and ctrl of CRLF
// P_index = -2 No ctrl of CRLF
// P_index = -1 Add crlf to end of message
char* createSendingMessage(SendingMessage *src, int P_index, int *msgLen=NULL);
char* createSendingMessage(char * src, int P_index, bool skip_sanity = false);
char* createSendingMessage(SendingMessage *src, int P_index, char *msg_buffer, int buflen, int *msgLen=NULL);
// P_index use for message index in scenario
char* createSendingMessage(SendingMessage* src, int P_index=-1, int *msgLen=NULL);
char* createSendingMessage(char* src, int P_index, bool skip_sanity=false);
char* createSendingMessage(SendingMessage*src, int P_index, char *msg_buffer, int buflen, int *msgLen=NULL);

// method for the management of unexpected messages
bool checkInternalCmd(char* cmd); // check of specific internal command
Expand Down
Loading

0 comments on commit ca79c1f

Please sign in to comment.