From 22219ed80793df5c42bd64a9e7f5045757486f0c Mon Sep 17 00:00:00 2001 From: OKAZAKI Tetsurou Date: Tue, 28 Aug 2007 10:55:06 +0000 Subject: Update to 0.9 Brush up Makefile: - Use PORTEXAMPLES (and honor NOPORTEXAMPLES) - Remove obsolete constructs and simplify some expressions - use LOCALBASE instead of PREFIX where appropriate PR: 115874 Submitted by: maintainer --- www/gatling/files/patch-gatling.c | 55 +++++++-------------------------------- 1 file changed, 9 insertions(+), 46 deletions(-) (limited to 'www/gatling/files/patch-gatling.c') diff --git a/www/gatling/files/patch-gatling.c b/www/gatling/files/patch-gatling.c index 90e453213142..74c43a1a3e3e 100644 --- a/www/gatling/files/patch-gatling.c +++ b/www/gatling/files/patch-gatling.c @@ -1,47 +1,10 @@ ---- gatling.c.orig Sat Jan 13 15:37:09 2007 -+++ gatling.c Sat Jan 13 15:47:04 2007 -@@ -865,7 +865,7 @@ static inline int issafe(unsigned char c - return (c!='"' && c!='%' && c>=' ' && c!='+'); - } +--- gatling.c.orig Mon Aug 27 16:08:00 2007 ++++ gatling.c Mon Aug 27 16:08:06 2007 +@@ -101,7 +101,6 @@ + #include + #include + #include +-#include + #include "havealloca.h" + #include "havesetresuid.h" --unsigned long fmt_urlencoded(char* dest,const char* src,unsigned long len) { -+size_t fmt_urlencoded(char* dest,const char* src,size_t len) { - register const unsigned char* s=(const unsigned char*) src; - unsigned long written=0,i; - for (i=0; i