THRIFT-886. erlang: Fix dialyzer warning in thrift_http_transport
authorDavid Reiss <dreiss@apache.org>
Wed, 1 Sep 2010 16:54:05 +0000 (16:54 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 1 Sep 2010 16:54:05 +0000 (16:54 +0000)
This spec should have been updated in r990996

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@991603 13f79535-47bb-0310-9956-ffa450edef68

lib/erl/src/thrift_http_transport.erl

index 09113cc..7d0226f 100644 (file)
@@ -34,7 +34,7 @@
                          http_options, % see http(3)
                          extra_headers % [{str(), str()}, ...]
                         }).
--type state() :: pid().
+-type state() :: #http_transport{}.
 -include("thrift_transport_behaviour.hrl").
 
 new(Host, Path) ->