I stored a string in a node using fgets.
Its fine that the string has the new line character in it.
I just want to print the string without the newline character.
I dont want to change the data in the string, so i use strdup to copy the string before anything happens
What I do stuffs the memory:
EDIT: I fixed the problem by myself. What I did was really silly and nobody should ever know what that was