blob: 341de22f559c4728760bef8599e35363157ec422 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ak,v 1.1 2008/08/17 20:09:12 dholland Exp $
--- src/Hsml/Headers.c~ 2004-09-16 18:05:58.000000000 -0400
+++ src/Hsml/Headers.c 2008-08-17 15:59:15.000000000 -0400
@@ -1,4 +1,6 @@
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
// HEADERS
char headers[1024]="";
@@ -11,7 +13,7 @@ void addHeader(char *str)
void printHeaders()
{
char *http;
- http=(char *)getenv("HTTP");
+ http=getenv("HTTP");
if (http&&http[0]=='1')
if (http)
{
|