Blob Blame History Raw
diff -up httping-1.2.9/http.c.old httping-1.2.9/http.c
--- httping-1.2.9/http.c.old	2008-12-30 15:29:18.000000000 +0200
+++ httping-1.2.9/http.c	2008-12-30 15:29:57.000000000 +0200
@@ -25,7 +25,7 @@
 #include "mem.h"
 #include "http.h"
 #include "io.h"
-#include "str.h"
+/*#include "str.h"*/
 #include "utils.h"
 
 int get_HTTP_headers(int socket_h, SSL *ssl_h, char **headers, int timeout)
diff -up httping-1.2.9/Makefile.old httping-1.2.9/Makefile
--- httping-1.2.9/Makefile.old	2008-12-30 15:34:16.000000000 +0200
+++ httping-1.2.9/Makefile	2008-12-30 16:49:09.000000000 +0200
@@ -17,7 +17,7 @@ include version
 DEBUG=-g # -D_DEBUG
 LDFLAGS+=-lssl -lcrypto $(DEBUG)
 CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
-
+INSTALL=install
 OBJS=mem.o http.o io.o str.o error.o utils.o main.o tcp.o mssl.o res.o
 
 all: httping
@@ -28,8 +28,8 @@ httping: $(OBJS)
 	# Oh, blatant plug: http://keetweej.vanheusden.com/wishlist.html
 
 install: httping
-	cp httping $(DESTDIR)/usr/bin
-	cp httping.1 $(DESTDIR)/usr/share/man/man1/
+	$(INSTALL) httping $(DESTDIR)/usr/bin/httping
+	$(INSTALL) -m 0644 httping.1 $(DESTDIR)/usr/share/man/man1/httping.1
 
 clean:
 	rm -f $(OBJS) core httping
diff -up httping-1.2.9/main.c.old httping-1.2.9/main.c
--- httping-1.2.9/main.c.old	2008-12-30 15:29:26.000000000 +0200
+++ httping-1.2.9/main.c	2008-12-30 16:06:06.000000000 +0200
@@ -33,12 +33,13 @@
 #include "gen.h"
 #include "http.h"
 #include "io.h"
-#include "str.h"
+/*#include "str.h"*/
 #include "mem.h"
 #include "tcp.h"
 #include "res.h"
 #include "utils.h"
 #include "error.h"
+//#include "version"
 
 static volatile int stop = 0;