diff -aurp a/main.cpp b/main.cpp --- a/main.cpp 2018-09-13 04:19:21.000000000 +0000 +++ b/main.cpp 2018-09-13 23:04:17.214701846 +0000 @@ -129,12 +129,14 @@ int main(int argc, char *argv[]) post += "&private=1"; if (Stikkit::Configuration::Expiry != "0") post += "&expire=" + Stikkit::Configuration::Expiry; + string useragent; + useragent = "cpaste " + Stikkit::Configuration::Version + " (https://paste.centos.org/)"; curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteCallback); curl_easy_setopt(curl, CURLOPT_URL, Stikkit::Configuration::URL.c_str()); curl_easy_setopt(curl, CURLOPT_POSTFIELDS, post.c_str()); - curl_easy_setopt(curl, CURLOPT_USERAGENT, "stikkit"); + curl_easy_setopt(curl, CURLOPT_USERAGENT, useragent.c_str()); - /* Perform the request, res will get the return code */ + /* Perform the request, res will get the return HTTP code */ res = curl_easy_perform(curl); /* Check for errors */ if(res != CURLE_OK)