summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules2
-rw-r--r--src/main.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index cefa09e..03eeae5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sear.c (0.0.4-1) stable; urgency=low
+
+ * finnaly
+
+ -- Anton Luka Šijanec <anton@sijanec.eu> Sun, 04 Apr 2021 16:00:00 +0200
+
sear.c (0.0.3-1) stable; urgency=low
* fixed systemd service and added other debian files
diff --git a/debian/rules b/debian/rules
index 4d587f6..cbe925d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,3 @@
#!/usr/bin/make -f
%:
- dh --with systemd $@
+ dh $@
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);