Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

We don't use listener->server_string_ext so why keep it?

  • Loading branch information...
commit e11a05be5f316e402b7292f1c51480d28f5a7094 1 parent 948d936
@skinkie skinkie authored alobbs committed
Showing with 0 additions and 8 deletions.
  1. +0 −7 cherokee/bind.c
  2. +0 −1  cherokee/bind.h
View
7 cherokee/bind.c
@@ -39,7 +39,6 @@ cherokee_bind_new (cherokee_bind_t **listener)
n->id = 0;
cherokee_buffer_init (&n->server_string);
- cherokee_buffer_init (&n->server_string_ext);
cherokee_buffer_init (&n->server_string_w_port);
cherokee_buffer_init (&n->server_address);
cherokee_buffer_init (&n->server_port);
@@ -62,7 +61,6 @@ cherokee_bind_free (cherokee_bind_t *listener)
cherokee_buffer_mrproper (&listener->ip);
cherokee_buffer_mrproper (&listener->server_string);
- cherokee_buffer_mrproper (&listener->server_string_ext);
cherokee_buffer_mrproper (&listener->server_string_w_port);
cherokee_buffer_mrproper (&listener->server_address);
cherokee_buffer_mrproper (&listener->server_port);
@@ -87,11 +85,6 @@ build_strings (cherokee_bind_t *listener,
if (ret != ret_ok)
return ret;
- cherokee_buffer_clean (&listener->server_string_ext);
- ret = cherokee_version_add (&listener->server_string_ext, token);
- if (ret != ret_ok)
- return ret;
-
cherokee_buffer_clean (&listener->server_string);
ret = cherokee_version_add_simple (&listener->server_string, token);
if (ret != ret_ok)
View
1  cherokee/bind.h
@@ -45,7 +45,6 @@ typedef struct {
/* Strings */
cherokee_buffer_t server_string;
- cherokee_buffer_t server_string_ext;
cherokee_buffer_t server_string_w_port;
cherokee_buffer_t server_address;
Please sign in to comment.
Something went wrong with that request. Please try again.