[packages] httping: update to v1.4.0 (#6461)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19072 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2010-01-08 00:12:00 +00:00
parent 9fd41809a1
commit e98802e5e5
3 changed files with 14 additions and 15 deletions

View File

@ -4,8 +4,8 @@
WFLAGS=-Wall -W
OFLAGS=-O2
-CFLAGS=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
+CFLAGS=$(EXTRA_CFLAGS) $(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
-CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
+CFLAGS+=$(EXTRA_CFLAGS) $(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
PACKAGE=$(TARGET)-$(VERSION)
PREFIX=/usr

View File

@ -4,12 +4,12 @@
#include "utils.h"
#include "error.h"
+#define VERSION "1.3.1"
+#define VERSION "1.4.0"
+
static volatile int stop = 0;
int quiet = 0;
@@ -50,7 +52,7 @@ char last_error[ERROR_BUFFER_SIZE];
@@ -51,7 +53,7 @@ char last_error[ERROR_BUFFER_SIZE];
void version(void)
{
@ -18,7 +18,7 @@
#ifndef NO_SSL
fprintf(stderr, "SSL support included\n");
#endif
@@ -449,7 +451,7 @@ int main(int argc, char *argv[])
@@ -524,7 +526,7 @@ int main(int argc, char *argv[])
if (useragent)
sprintf(&request[strlen(request)], "User-Agent: %s\r\n", useragent);
else