Skip to content
This repository
Browse code

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

  • Loading branch information...
commit e11a05be5f316e402b7292f1c51480d28f5a7094 1 parent 948d936
Stefan de Konink authored October 14, 2011 alobbs committed October 17, 2011
7  cherokee/bind.c
@@ -39,7 +39,6 @@ cherokee_bind_new (cherokee_bind_t **listener)
39 39
 	n->id   = 0;
40 40
 
41 41
 	cherokee_buffer_init (&n->server_string);
42  
-	cherokee_buffer_init (&n->server_string_ext);
43 42
 	cherokee_buffer_init (&n->server_string_w_port);
44 43
 	cherokee_buffer_init (&n->server_address);
45 44
 	cherokee_buffer_init (&n->server_port);
@@ -62,7 +61,6 @@ cherokee_bind_free (cherokee_bind_t *listener)
62 61
 	cherokee_buffer_mrproper (&listener->ip);
63 62
 
64 63
 	cherokee_buffer_mrproper (&listener->server_string);
65  
-	cherokee_buffer_mrproper (&listener->server_string_ext);
66 64
 	cherokee_buffer_mrproper (&listener->server_string_w_port);
67 65
 	cherokee_buffer_mrproper (&listener->server_address);
68 66
 	cherokee_buffer_mrproper (&listener->server_port);
@@ -87,11 +85,6 @@ build_strings (cherokee_bind_t         *listener,
87 85
 	if (ret != ret_ok)
88 86
 		return ret;
89 87
 
90  
-	cherokee_buffer_clean (&listener->server_string_ext);
91  
-	ret = cherokee_version_add (&listener->server_string_ext, token);
92  
-	if (ret != ret_ok)
93  
-		return ret;
94  
-
95 88
 	cherokee_buffer_clean (&listener->server_string);
96 89
 	ret = cherokee_version_add_simple (&listener->server_string, token);
97 90
 	if (ret != ret_ok)
1  cherokee/bind.h
@@ -45,7 +45,6 @@ typedef struct {
45 45
 
46 46
 	/* Strings */
47 47
 	cherokee_buffer_t  server_string;
48  
-	cherokee_buffer_t  server_string_ext;
49 48
 	cherokee_buffer_t  server_string_w_port;
50 49
 
51 50
 	cherokee_buffer_t  server_address;

0 notes on commit e11a05b

Please sign in to comment.
Something went wrong with that request. Please try again.