Permalink
Browse files

Merge pull request #2 from acidburnt/master

changed creating old thrift connection
  • Loading branch information...
2 parents 19c9bc2 + b461c8d commit 8866ca1c9db39f963957b7b2068c772c1d79786a @twonds twonds committed May 11, 2011
Showing with 5 additions and 3 deletions.
  1. +5 −3 example.erl
View
8 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]),

0 comments on commit 8866ca1

Please sign in to comment.