Welcome to little lamb

Code » ssp » commit a0ccd17

Update to latest changes in limb

author Olivier Brunel
2023-04-23 15:31:12 UTC
committer Olivier Brunel
2023-04-25 15:02:08 UTC
parent ad7573d514f1461a31999fce4de0795f3023fdfe

Update to latest changes in limb

src/ssp/add.c +1 -1
src/ssp/edit.c +1 -1

diff --git a/src/ssp/add.c b/src/ssp/add.c
index 2e3f686..91ef2ee 100644
--- a/src/ssp/add.c
+++ b/src/ssp/add.c
@@ -85,7 +85,7 @@ parse_cmdline(int argc, const char *argv[], const char usage[], struct add *add)
                 r = validate_algo(&first, PO_ARG(&po), strlen(PO_ARG(&po)));
                 if (r < 0) {
                     if (first > -1)
-                        list_matches(out_putmsg, OLVL_NORMAL, "did you mean ",
+                        list_matches(obuffer_1, OLVL_NORMAL, "did you mean ",
                                      NULL, " or ", " ?", PO_ARG(&po), strlen(PO_ARG(&po)),
                                      first, algos);
                     diecmdusage(EX_USAGE, usage, &command_add);
diff --git a/src/ssp/edit.c b/src/ssp/edit.c
index a0701f7..c9614a7 100644
--- a/src/ssp/edit.c
+++ b/src/ssp/edit.c
@@ -57,7 +57,7 @@ parse_cmdline(int argc, const char *argv[], const char usage[], struct edit *edi
                 r = validate_algo(&first, PO_ARG(&po), strlen(PO_ARG(&po)));
                 if (r < 0) {
                     if (first > -1)
-                        list_matches(out_putmsg, OLVL_NORMAL, "did you mean ",
+                        list_matches(obuffer_1, OLVL_NORMAL, "did you mean ",
                                      NULL, " or ", " ?", PO_ARG(&po), strlen(PO_ARG(&po)),
                                      first, algos);
                     diecmdusage(EX_USAGE, usage, &command_edit);