cpp,doc: Fix typos in API documentation and source code comments

--

Anonymous contribution

Signed-off-by: Ingo Klöcker <dev@ingo-kloecker.de>
This commit is contained in:
Ingo Klöcker 2023-10-13 09:18:32 +02:00
parent 57205c1dfa
commit bd448c9cbf
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ public:
/*! The value that is in the config file (or null, if it's not set). */ /*! The value that is in the config file (or null, if it's not set). */
Argument activeValue() const; Argument activeValue() const;
/*! The value that is in this object, ie. either activeValue(), newValue(), or defaultValue() */ /*! The value that is in this object, i.e. either activeValue(), newValue(), or defaultValue() */
Argument currentValue() const; Argument currentValue() const;
Argument newValue() const; Argument newValue() const;

View File

@ -89,7 +89,7 @@ main (int argc, char **argv)
return -1; return -1;
} }
// try do connect to dirmngr // try to connect to dirmngr
err = ctx->assuanTransact("GETINFO version"); err = ctx->assuanTransact("GETINFO version");
if (err && err.code() != GPG_ERR_ASS_CONNECT_FAILED) { if (err && err.code() != GPG_ERR_ASS_CONNECT_FAILED) {
std::cerr << "Failed to start assuan transaction (Error: " << err.asString() << ")\n"; std::cerr << "Failed to start assuan transaction (Error: " << err.asString() << ")\n";