commit 7224fa517cbf2fe766840819d70bef234805e1d8
parent 7db334bba1fb3567d1f1e580d76ec081d4f0fa5f
Author: Claudio Alessi <smoppy@gmail.com>
Date: Sat, 29 Jun 2024 12:57:17 +0200
Remove default limit when show transactions.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sw.c b/sw.c
@@ -8,6 +8,7 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
+#include <limits.h>
#include "arg.h"
char *argv0;
@@ -235,7 +236,7 @@ usage(void) {
int
main(int argc, char *argv[]) {
- int delid = 0, limit = 25;
+ int delid = 0, limit = INT_MAX;
int from = 0, to = 0;
char *txt = NULL;