We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9516bd4 commit 0a13335Copy full SHA for 0a13335
1 file changed
plugins/rdioscanner_uploader/rdioscanner_uploader.cc
@@ -76,6 +76,10 @@ class Rdio_Scanner_Uploader : public Plugin_Api {
76
return false;
77
}
78
79
+ static bool is_success_http_status(long code) {
80
+ return code >= 200 && code < 300;
81
+ }
82
+
83
static bool passes_talkgroup_filter(const Rdio_Scanner_System* sys, uint32_t talkgroup) {
84
if (!sys) return true; // no system config => don't filter here
85
const std::string tg = std::to_string(talkgroup);
0 commit comments