summaryrefslogtreecommitdiff
path: root/opentracker.c
diff options
context:
space:
mode:
authordenis <>2006-12-16 14:49:20 +0000
committerdenis <>2006-12-16 14:49:20 +0000
commitffc378b2b9529a77e5da76635f35fcbba6817aa1 (patch)
tree8936057ef216e5e4906387d23de94a8a4ad744f1 /opentracker.c
parent15d9d55c343bd3b52390afd5c6fb26e49bec7841 (diff)
corrected the modifier for size_t
Diffstat (limited to 'opentracker.c')
-rw-r--r--opentracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentracker.c b/opentracker.c
index a0316cf..ca1b936 100644
--- a/opentracker.c
+++ b/opentracker.c
@@ -64,7 +64,7 @@ void httperror(struct http_data* h,const char* title,const char* message)
64 char* c = (char*)malloc(strlen(message)+strlen(title)+200); 64 char* c = (char*)malloc(strlen(message)+strlen(title)+200);
65 if( !c) iob_addbuf(&h->iob, "HTTP/1.0 500 internal error\r\nContent-Type: text/plain\r\nConnection: close\r\n\r\nout of memory\n", 90); 65 if( !c) iob_addbuf(&h->iob, "HTTP/1.0 500 internal error\r\nContent-Type: text/plain\r\nConnection: close\r\n\r\nout of memory\n", 90);
66 else iob_addbuf_free( &h->iob, c, 66 else iob_addbuf_free( &h->iob, c,
67 sprintf( c, "HTTP/1.0 %s\r\nContent-Type: text/html\r\nConnection: close\r\nContent-Length: %ld\r\n\r\n<title>%s</title>\n", 67 sprintf( c, "HTTP/1.0 %s\r\nContent-Type: text/html\r\nConnection: close\r\nContent-Length: %zd\r\n\r\n<title>%s</title>\n",
68 title, strlen(message)+strlen(title)+16-4,title+4) ); 68 title, strlen(message)+strlen(title)+16-4,title+4) );
69} 69}
70 70