summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ykpsmuttauth/ykpsmuttauth2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ykpsmuttauth/ykpsmuttauth2.c b/ykpsmuttauth/ykpsmuttauth2.c
index 446024c..6623470 100644
--- a/ykpsmuttauth/ykpsmuttauth2.c
+++ b/ykpsmuttauth/ykpsmuttauth2.c
@@ -124,7 +124,7 @@ int write_token_file(const char *filename)
json_object_put(token_json);
return -1;
}
- fprintf(file, "%s", data);
+ fputs(data, file);
fclose(file);
json_object_put(token_json);
return 0;