Am Donnerstag, 21. Oktober 2010 16:09:59 schrieb Stephan Kleine:
> gsa doesn't compile anymore with libmicrohttpd 0.9.2 (0.9.1 worked fine).
>
> Please be so kind to investigate and fix this.

I've looked at it and the attached patch solves the warning for me and does 
not break compatibility with older libmicrohttpd versions.

Stephan, could you check if this solves your issue?

Regards,

Michael

-- 
Michael Wiegand |  Greenbone Networks GmbH  |  http://www.greenbone.net/
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner

Index: src/gsad.c
===================================================================
--- src/gsad.c	(Revision 9254)
+++ src/gsad.c	(Arbeitskopie)
@@ -4090,7 +4090,7 @@
     }
 
   response = MHD_create_response_from_callback (buf.st_size, 32 * 1024,
-                                                &file_reader,
+                                                (MHD_ContentReaderCallback) &file_reader,
                                                 file,
                                                 (MHD_ContentReaderFreeCallback)
                                                 &fclose);
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to