Changed function name

master
Aadhavan Srinivasan 2 years ago
parent 42e12def81
commit 5bf131d00c

@ -2,7 +2,7 @@
#include "message_helpers.h"
char* user_string(char* message) {
char* fetch_dest_user_string(char* message) {
char* token = malloc (sizeof(char) * strlen(message));
token = strtok(message," \r\n");
if (strcmp(token,"TO:") == 0) {

@ -3,4 +3,4 @@
/* If the message contains a string of the form:
TO: <Username>
then return 'Username' */
char* user_string(char* message);
char* fetch_dest_user_string(char* message);

Loading…
Cancel
Save