From 80a93f83c9833870df1c84fdc9f89a51db8650e8 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 13 Apr 2015 23:39:20 +1200 Subject: Fixed #5 --- paramano_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paramano_set.c b/paramano_set.c index 4a0ba2d..3bfbbbc 100644 --- a/paramano_set.c +++ b/paramano_set.c @@ -44,7 +44,7 @@ char write_str_to_file(const char *file, const char *data, const char *core) if ( (fd = fopen(file_path, "w")) != NULL ) { debug("Writing '%s' to '%s'\n",data,file_path); - fprintf(fd, data); + fputs(data, fd); fclose(fd); return 1; } -- cgit v1.1