From 8488f2105847229fb2dc6014829296f25484ae0a Mon Sep 17 00:00:00 2001 From: sijanec Date: Sun, 4 Apr 2021 16:17:19 +0200 Subject: fixed dependency on stdin to pause --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.c b/src/main.c index 3e8c544..4bf41eb 100644 --- a/src/main.c +++ b/src/main.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include @@ -58,8 +59,7 @@ int main (int argc, char ** argv) { rs = 2; goto rc; } - /* sc_query_google(argv[1], c); */ - getc(stdin); + pause(); rc: sc_cache_free(c); MHD_stop_daemon(d); -- cgit v1.2.3