diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2015-04-13 23:39:20 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2015-04-13 23:39:20 +1200 |
commit | 80a93f83c9833870df1c84fdc9f89a51db8650e8 (patch) | |
tree | 864a178a7dd2d8024af6cc7d5b68b97bb9b6f2ed | |
parent | 0c7da473eeb91750319b334f580fe10173f673df (diff) | |
download | paramano-80a93f83c9833870df1c84fdc9f89a51db8650e8.tar.xz |
Fixed #5
-rw-r--r-- | paramano_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |