From 885c4f441c33c3b7da41051b6e5f3b345b173eb9 Mon Sep 17 00:00:00 2001 From: Framawiki Date: Fri, 5 May 2017 19:20:34 +0200 Subject: [PATCH] Small changes --- README.md | 10 +++++----- stikkit/main.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 63e5b72..89741d3 100644 --- a/README.md +++ b/README.md @@ -31,10 +31,10 @@ Checkout this repository cd stikkit cmake . make -make install +sudo make install ``` -NOTE: you need to have libcurl-dev installed in your system +NOTE: you need to have `libcurl-dev` installed in your system Usage ===== @@ -53,9 +53,9 @@ The url parameter can be stored to configuration file (stikkit will ask you in c Configuration ===== -The default configuration pulls the URL from /etc/stikkit/url - however, the better approach is to create your own config directory. The stikkit software will look for ".stikkit" in your home directory. +The default configuration pulls the URL from `/etc/stikkit/url` - however, the better approach is to create your own config directory. -Within this directory, there are a few key files worth creating. +The stikkit software will look for `.stikkit` in your home directory. Within this directory, there are a few key files worth creating. - *url* - Contains your base installation URL for stikked - *apikey* - If your stikked installation requires an API key, save it in here @@ -68,4 +68,4 @@ Tips Do you have a server and want to setup default pastebin site for all users in system? -Create /etc/stikkit/url which contains the url of default pastebin site. Users will be able to override it, but by default everyone on system will use this +Create `/etc/stikkit/url` which contains the url of default pastebin site. Users will be able to override it, but by default everyone on system will use this diff --git a/stikkit/main.cpp b/stikkit/main.cpp index 65e97f6..53594cf 100644 --- a/stikkit/main.cpp +++ b/stikkit/main.cpp @@ -134,7 +134,7 @@ int main(int argc, char *argv[]) curl_easy_setopt(curl, CURLOPT_POSTFIELDS, post.c_str()); curl_easy_setopt(curl, CURLOPT_USERAGENT, "stikkit"); - /* 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)