summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_socket.c
diff options
context:
space:
mode:
authorDavid Wragg <david@rabbitmq.com>2010-10-21 17:49:04 +0100
committerDavid Wragg <david@rabbitmq.com>2010-10-21 17:49:04 +0100
commite50a94ba2fd471c61509ed3120f42d4506d99ffb (patch)
tree78eeb2427b750d46b15ee7dc5aa19fd3d7d4f4ee /librabbitmq/amqp_socket.c
parentceda8246d3fe0ceb51f680848c8cbe45c332f71a (diff)
downloadrabbitmq-c-github-ask-e50a94ba2fd471c61509ed3120f42d4506d99ffb.tar.gz
Convert other librabbitmq .c files to the new helper functions
Diffstat (limited to 'librabbitmq/amqp_socket.c')
-rw-r--r--librabbitmq/amqp_socket.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/librabbitmq/amqp_socket.c b/librabbitmq/amqp_socket.c
index 6f93d0c..109f60b 100644
--- a/librabbitmq/amqp_socket.c
+++ b/librabbitmq/amqp_socket.c
@@ -113,13 +113,6 @@ int amqp_send_header(amqp_connection_state_t state) {
return send(state->sockfd, header(), 8, 0);
}
-int amqp_send_header_to(amqp_connection_state_t state,
- amqp_output_fn_t fn,
- void *context)
-{
- return fn(context, header(), 8);
-}
-
static amqp_bytes_t sasl_method_name(amqp_sasl_method_enum method) {
switch (method) {
case AMQP_SASL_METHOD_PLAIN: return (amqp_bytes_t) {.len = 5, .bytes = "PLAIN"};