~martijnbraam/public-inbox

logbookd: Fix -g option v1 APPLIED

Clayton Craft: 1
 Fix -g option

 1 files changed, 1 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~martijnbraam/public-inbox/patches/47473/mbox | git am -3
Learn more about email & git

[PATCH logbookd] Fix -g option Export this patch

Without this, the falls through to the next case and throws an
error.

All credit goes to Caleb Connelly for spotting this!
---
 main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main.c b/main.c
index b617bfc..9335c17 100644
--- a/main.c
+++ b/main.c
@@ -738,6 +738,7 @@ main(int argc, char *argv[])
					exit(1);
				}
				garbage_collect_threshold = ((int) res) * 1024;
				break;
			case '?':
				if (optopt == 'd' || optopt == 'l') {
					fprintf(stderr, "Option -%c requires an argument.\n", optopt);
-- 
2.43.0
Thanks, applied