Commit Graph

5 Commits (e286534cfc2c3cd70babda988b0e7066f5cccc76)

Author SHA1 Message Date
Adam Spiers 7988200701 fix -Wunused-result warnings when calling asprintf()
Fix these warnings:

papertrail_proc.hh: In constructor ‘papertrail_proc::papertrail_proc(const string&, time_t, time_t)’:
papertrail_proc.hh:107:36: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
                  this->ptp_api_key);
                                    ^
papertrail_proc.hh: In member function ‘void papertrail_proc::set_url()’:
papertrail_proc.hh:146:47: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
                  this->ptp_quoted_search.in());
8 years ago
Timothy Stack 83b92c3b65 [papertrail] add support for time ranges 9 years ago
Timothy Stack e9a96caf09 [papertrail] use the curl_looper 9 years ago
Timothy Stack 5ef60412db [pt] pass search query to papertrail 9 years ago
Timothy Stack 879bbd581e [pt] rough draft of tail for papertrail 9 years ago