cgmnlm

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/cgmnlm.git
Log | Files | Refs | README | LICENSE

commit 7f9f23b53f7dc7eb739fd9af2f8ed1beb809e702
parent 3d1e56e24cc45422090c9457cb8afd84a2289761
Author: René Wagner <rwa@clttr.info>
Date:   Sat, 28 May 2022 16:11:46 +0200

fix size of temporary buffer

Diffstat:
Msrc/gmnlm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gmnlm.c b/src/gmnlm.c @@ -784,7 +784,7 @@ do_prompts(const char *prompt, struct browser *browser) set_url(browser, save_url, NULL); } if (in[0] == 'e' || browser->autoopen) { - char target[1024]; + char target[1050]; snprintf(target, sizeof(target), "xdg-open %s >/dev/null 2>&1", in[0] == 't' ? tempfile : url); if ( !system(target) ) fprintf(browser->tty, "Link send to xdg-open\n"); }