From 4eda0edb2631a5bc570db7965a6e043689db51ce Mon Sep 17 00:00:00 2001 From: Tindy X <49061470+tindy2013@users.noreply.github.com> Date: Sat, 7 Mar 2020 23:52:25 +0800 Subject: [PATCH] Clean up basic function names --- src/subexport.cpp | 4 ++-- src/webget.cpp | 10 ++++++++++ src/webget.h | 4 ++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/subexport.cpp b/src/subexport.cpp index f89ffbc..369570d 100644 --- a/src/subexport.cpp +++ b/src/subexport.cpp @@ -2496,7 +2496,7 @@ int uploadGist(std::string name, std::string path, std::string content, bool wri { //std::cerr<<"No gist id is provided. Creating new gist...\n"; writeLog(0, "No Gist id is provided. Creating new Gist...", LOG_LEVEL_ERROR); - retVal = curlPost("https://api.github.com/gists", buildGistData(path, content), getSystemProxy(), token, &retData); + retVal = webPost("https://api.github.com/gists", buildGistData(path, content), getSystemProxy(), token, &retData); if(retVal != 201) { //std::cerr<<"Create new Gist failed! Return data:\n"<