aboutsummaryrefslogtreecommitdiffstats
path: root/src/version.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-08-16 16:49:11 +0000
committerWerner Koch <[email protected]>2016-08-16 16:49:11 +0000
commitb7b0e7b5bfefd51c8092ea54f262b18aebf78128 (patch)
tree0be66ab1e638e1095491743cb182e37d77ced480 /src/version.c
parentQt: Add test for progress signal of encryptjob (diff)
downloadgpgme-b7b0e7b5bfefd51c8092ea54f262b18aebf78128.tar.gz
gpgme-b7b0e7b5bfefd51c8092ea54f262b18aebf78128.zip
core: Simplify setting of dummy versions.
* src/engine.c (_gpgme_engine_info_release): Do not assert but free FILE_NAME. (gpgme_get_engine_info): Provide default for VERSION and REQ_VERSION. Use calloc instead of malloc. (_gpgme_set_engine_info): Ditto. * src/engine-assuan.c (llass_get_version): Return NULL. (llass_get_req_version): Ditto. * src/engine-spawn.c (engspawn_get_version): Ditto. (engspawn_get_req_version): Ditto. * src/engine-uiserver.c (uiserver_get_version): Ditto. (uiserver_get_req_version): Ditto. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--src/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c
index 15e5aeec..e2f1c353 100644
--- a/src/version.c
+++ b/src/version.c
@@ -124,7 +124,7 @@ parse_version_number (const char *str, int *number)
/* Parse the version string STR in the format MAJOR.MINOR.MICRO (for
example, 9.3.2) and return the components in MAJOR, MINOR and MICRO
as integers. The function returns the tail of the string that
- follows the version number. This might be te empty string if there
+ follows the version number. This might be the empty string if there
is nothing following the version number, or a patchlevel. The
function returns NULL if the version string is not valid. */
static const char *