aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqorg11 <qorg@vxempire.xyz>2021-07-30 00:12:29 +0200
committerqorg11 <qorg@vxempire.xyz>2021-07-30 00:12:29 +0200
commit8545219141e9aae13af2b4a14606935b3179e78f (patch)
treec98d316c6a35d2a9ee16c9734358fcd525b56db8
parentff72d207d08da1e79176a5c3ac5c18a079a1a4f2 (diff)
downloaddemiurge-8545219141e9aae13af2b4a14606935b3179e78f.tar.gz
demiurge-8545219141e9aae13af2b4a14606935b3179e78f.zip
Removed the unnecesary write_data function
-rw-r--r--src/util.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/util.c b/src/util.c
index 5213ac0..8fd04e0 100644
--- a/src/util.c
+++ b/src/util.c
@@ -57,7 +57,6 @@ store_config(const struct config *config)
fprintf(fp, "client_secret=%s\n", config->client_secret);
fprintf(fp, "access_token=%s\n", config->access_token);
fclose(fp);
-
return 0;
}
@@ -158,14 +157,6 @@ cb(void *data, size_t size, size_t nmemb, void *userp)
return realsize;
}
-size_t
-write_data(void *buffer, size_t size, size_t nmemb, void *userp)
-{
-
- memcpy(userp, buffer, nmemb * size);
- return 0;
-}
-
/* like puts() but writes to stderr */
void