Commit 9f99dbba authored by Zara Saldanha's avatar Zara Saldanha

Update sender.c

parent 47118b30
......@@ -15,7 +15,7 @@ int main(int argc, char* argv[]){
char *newLine = "\n";
file = fopen("channel.txt","a+");
fwrite(argv[1],sizeof(char),strlen(argv[1]),file);
fwrite(newLine,sizeof(char),strlen(new),file);
fwrite(newLine,sizeof(char),strlen(newLine),file);
fclose(file);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment