Skip to content

Commit

Permalink
created CryptoDigest
Browse files Browse the repository at this point in the history
  • Loading branch information
jodyxha committed Jul 18, 2023
1 parent 20122be commit c02ef92
Show file tree
Hide file tree
Showing 32 changed files with 1,662 additions and 86 deletions.
4 changes: 2 additions & 2 deletions QHG4/actions/Action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ int Action<T>::checkAttributes(const stringmap &mParams) {
if (checkAttributesV(mParams, m_vNames, vRequired, vUnknown) != 0) {
iResult = -1;
if (vRequired.size() > 0) {
stdprintf("[Action %s] Missing param%s:\n", m_sActionName, (vRequired.size()>0)?"s":"");
stdprintf("[Action %s] Param%s missing from XML file:\n", m_sActionName, (vRequired.size()>0)?"s":"");
for (uint i = 0; i < vRequired.size(); i++) {
stdprintf("[Action %s] %s\n", m_sActionName,vRequired[i]);
}
}
if (vUnknown.size() > 0) {
stdprintf("[Action %s] Unknown param%s:\n", m_sActionName, (vUnknown.size()>0)?"s":"");
stdprintf("[Action %s] Unknown param%s in XML file:\n", m_sActionName, (vUnknown.size()>0)?"s":"");
for (uint i = 0; i < vUnknown.size(); i++) {
stdprintf("[Action %s] %s\n", m_sActionName, vUnknown[i]);
}
Expand Down
Loading

0 comments on commit c02ef92

Please sign in to comment.