File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -655,10 +655,10 @@ Validator::get_public_keys_from_web_continue(std::unique_ptr<AsyncStatus> status
655655 }
656656
657657 status->m_cget ->get_data (buffer, len);
658- status->m_cget .reset ();
659658 auto metadata = std::string (buffer, len);
660659 picojson::value json_obj;
661660 auto err = picojson::parse (json_obj, metadata);
661+ status->m_cget .reset ();
662662 if (!err.empty ()) {
663663 throw JsonException (err);
664664 }
@@ -674,13 +674,12 @@ Validator::get_public_keys_from_web_continue(std::unique_ptr<AsyncStatus> status
674674 status->m_continue_fetch = false ;
675675 status->m_done = true ;
676676 status->m_state = AsyncStatus::DONE;
677- return std::move (status);
678677 }
679678 case AsyncStatus::DONE:
680679 status->m_done = true ;
681- return std::move (status);
682680
683681 } // Switch
682+ return std::move (status);
684683}
685684
686685std::string
You can’t perform that action at this time.
0 commit comments