From accf4ae2bea381ba902f2058e8182510f96a0b5d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 2 Nov 2003 17:58:16 +0000 Subject: [PATCH] Use 'Host' rather than 'host' for HTTP header --- src/zoom-c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zoom-c.c b/src/zoom-c.c index da9ca8b..8b14d05 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -2,7 +2,7 @@ * Copyright (c) 2000-2003, Index Data * See the file LICENSE for details. * - * $Id: zoom-c.c,v 1.1 2003-10-27 12:21:36 adam Exp $ + * $Id: zoom-c.c,v 1.2 2003-11-02 17:58:16 adam Exp $ * * ZOOM layer for C, connections, result sets, queries. */ @@ -1025,7 +1025,7 @@ static zoom_ret send_srw (ZOOM_connection c, Z_SRW_PDU *sr) memcpy (h, cp0, cp1 - cp0); h[cp1-cp0] = '\0'; z_HTTP_header_add(c->odr_out, &gdu->u.HTTP_Request->headers, - "host", h); + "Host", h); } } -- 1.7.10.4