aboutsummaryrefslogtreecommitdiffstats
path: root/common/stringhelp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-10-14 15:06:51 +0000
committerWerner Koch <[email protected]>2023-10-14 15:14:22 +0000
commita17363e992943244987dbab754b112c77d938b5d (patch)
tree51b2f749ed5c1dc67e937112cc3fef1728e9c024 /common/stringhelp.c
parentgpgsm: Improvements for NDEF in the pkcs#12 parser (diff)
downloadgnupg-a17363e992943244987dbab754b112c77d938b5d.tar.gz
gnupg-a17363e992943244987dbab754b112c77d938b5d.zip
common: New function scan_secondsstr.
* common/gettime.c (scan_secondsstr): New. * common/t-gettime.c (test_scan_secondsstr): (main): Call it.
Diffstat (limited to 'common/stringhelp.c')
-rw-r--r--common/stringhelp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stringhelp.c b/common/stringhelp.c
index 5407653de..9a2265258 100644
--- a/common/stringhelp.c
+++ b/common/stringhelp.c
@@ -725,7 +725,7 @@ compare_filenames (const char *a, const char *b)
/* Convert a base-10 number in STRING into a 64 bit unsigned int
* value. Leading white spaces are skipped but no error checking is
- * done. Thus it is similar to atoi(). */
+ * done. Thus it is similar to atoi(). See also scan_secondsstr. */
uint64_t
string_to_u64 (const char *string)
{