Reverted wrong set of changes to server_create

pull/2135/head
David Garcia Quintas 10 years ago
parent 14ce90ff82
commit 711db76a2c
  1. 5
      src/core/surface/server_create.c

@ -32,12 +32,9 @@
*/ */
#include <grpc/grpc.h> #include <grpc/grpc.h>
#include "src/core/channel/compress_filter.h"
#include "src/core/surface/completion_queue.h" #include "src/core/surface/completion_queue.h"
#include "src/core/surface/server.h" #include "src/core/surface/server.h"
grpc_server *grpc_server_create(const grpc_channel_args *args) { grpc_server *grpc_server_create(const grpc_channel_args *args) {
const grpc_channel_filter *filters[] = {&grpc_compress_filter}; return grpc_server_create_from_filters(NULL, 0, args);
return grpc_server_create_from_filters(filters, 0, args);
} }

Loading…
Cancel
Save