summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-04-04 16:17:19 +0200
committersijanec <anton@sijanec.eu>2021-04-04 16:17:19 +0200
commit8488f2105847229fb2dc6014829296f25484ae0a (patch)
tree066ef5cb5cad8ef0a222c689a26a3ab15af78cf8 /src
parent0.0.3 (diff)
downloadsear.c-8488f2105847229fb2dc6014829296f25484ae0a.tar
sear.c-8488f2105847229fb2dc6014829296f25484ae0a.tar.gz
sear.c-8488f2105847229fb2dc6014829296f25484ae0a.tar.bz2
sear.c-8488f2105847229fb2dc6014829296f25484ae0a.tar.lz
sear.c-8488f2105847229fb2dc6014829296f25484ae0a.tar.xz
sear.c-8488f2105847229fb2dc6014829296f25484ae0a.tar.zst
sear.c-8488f2105847229fb2dc6014829296f25484ae0a.zip
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
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 <printf.h>
#include <ctype.h>
#include <time.h>
+#include <unistd.h>
#include <pthread.h>
#include <stdatomic.h>
#include <i18n.h>
@@ -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);