summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 119c804)
raw | patch | inline | side by side (parent: 119c804)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 21 Aug 2009 08:22:38 +0000 (10:22 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 21 Aug 2009 08:22:38 +0000 (10:22 +0200) |
src/http.c | patch | blob | history |
diff --git a/src/http.c b/src/http.c
index 70dc080cdd06226b6f780cba5b32ac33c0eb1916..d6f7fee36c0389778089aa95e6155a1d7f568171 100644 (file)
--- a/src/http.c
+++ b/src/http.c
#define SEND_BUFFER_SIZE 4096
static char send_buffer[SEND_BUFFER_SIZE];
-static char *send_buffer_ptr;
static int send_buffer_fill;
static pthread_mutex_t send_lock = PTHREAD_MUTEX_INITIALIZER;
static void http_init_buffer (void) /* {{{ */
{
memset (send_buffer, 0, sizeof (send_buffer));
- send_buffer_ptr = send_buffer;
send_buffer_fill = 0;
} /* }}} http_init_buffer */