projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
54462bd
)
Use 'Host' rather than 'host' for HTTP header
author
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 2 Nov 2003 17:58:16 +0000
(17:58 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 2 Nov 2003 17:58:16 +0000
(17:58 +0000)
src/zoom-c.c
patch
|
blob
|
history
diff --git
a/src/zoom-c.c
b/src/zoom-c.c
index
da9ca8b
..
8b14d05
100644
(file)
--- 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.
*
* 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.
*/
*
* 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,
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);
}
}
}
}