From b461c8d0113b45868268e9748615410f33a42999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bagrowski?= Date: Wed, 11 May 2011 08:48:10 +0200 Subject: [PATCH] correct connection with thrift 0.6.1 --- example.erl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/example.erl b/example.erl index 868a5ad..7737afa 100644 --- a/example.erl +++ b/example.erl @@ -6,9 +6,11 @@ -include("scribe_types.hrl"). run() -> - {ok, C} = thrift_client:start_link("localhost", 1463, scribe_thrift, [{strict_read, false}, - {strict_write, false}, - {framed, true}]), + {ok, C} = thrift_client_util:new("localhost", 1463, scribe_thrift, + [{strict_read, false}, + {strict_write, false}, + {framed, true}]), + io:format("Connected ~p~n", [C]),