tFix parameters after bad merge - phroxy - Gopher to HTTP proxy
 (HTM) git clone git://git.z3bra.org/phroxy.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit ef2d71ffb25c671f716109b8d9bb640fd0a5a9c4
 (DIR) parent aa14b0f30641e561646bf803aa212a65eefdab1a
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Thu, 24 Sep 2020 09:54:14 +0200
       
       Fix parameters after bad merge
       
       Diffstat:
         M phroxy.c                            |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/phroxy.c b/phroxy.c
       t@@ -291,13 +291,13 @@ serveitem(char item, char *path, char *data, size_t len)
                int sent;
        
        
       -        if (!contenttype(item)) {
       +        if (!contenttype(item, path)) {
                        printhttp(415);
                        return 1;
                }
        
                printf("HTTP/1.1 200 OK\r\n");
       -        printheaders(contenttype(item));
       +        printheaders(contenttype(item, path));
        
                switch(item) {
                case '1': // menu