Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: [PATCH] http.lua updated in line with stdnse.make_buffer()
From: jah <jah () zadkiel plus com>
Date: Sat, 21 Jun 2008 21:23:09 +0100

On 21/06/2008 20:32, Patrick Donnelly wrote:
I've applied your patch.

Thanks,
It looks like it didn't apply quite properly since there are two uses of
the function and only the first of them has changed.

Regards,

jah
--- http.lua.orig       2008-06-21 21:14:29.000000000 +0100
+++ http.lua    2008-06-21 12:34:13.875000000 +0100
@@ -142,8 +142,8 @@
 
   -- body loop
   while true do
-    status, line = buffer()
-    if (not status) then break end
+    line = buffer()
+    if not line then break end
     table.insert(body,line)
   end
 

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]