mirror of
https://gitlab.com/niansa/commsyfuse.git
synced 2025-03-06 20:48:31 +01:00
Fixed typo
This commit is contained in:
parent
ee038d445b
commit
6f5047110f
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -280,7 +280,7 @@ std::string get_post_desc(std::string post_url) {
|
||||||
long statuscode = curlreq(httpcontent, server_sid, post_url);
|
long statuscode = curlreq(httpcontent, server_sid, post_url);
|
||||||
// Check statuscode
|
// Check statuscode
|
||||||
if (statuscode != 200) {
|
if (statuscode != 200) {
|
||||||
panic("Request to download post had a unexpected result: "+std::to_string(statuscode));
|
panic("Request to download post had an unexpected result: "+std::to_string(statuscode));
|
||||||
}
|
}
|
||||||
// Parse post
|
// Parse post
|
||||||
post_document = gumbo_parse(httpcontent.str().c_str());
|
post_document = gumbo_parse(httpcontent.str().c_str());
|
||||||
|
|
Loading…
Add table
Reference in a new issue