Author: dreiss
Date: Wed Sep 1 16:54:05 2010
New Revision: 991603
URL: http://svn.apache.org/viewvc?rev=991603&view=rev
Log:
THRIFT-886. erlang: Fix dialyzer warning in thrift_http_transport
This spec should have been updated in r990996
Modified:
incubator/thrift/trunk/lib/erl/src/thrift_http_transport.erl
Modified: incubator/thrift/trunk/lib/erl/src/thrift_http_transport.erl
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/erl/src/thrift_http_transport.erl?rev=991603&r1=991602&r2=991603&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/erl/src/thrift_http_transport.erl (original)
+++ incubator/thrift/trunk/lib/erl/src/thrift_http_transport.erl Wed Sep 1
16:54:05 2010
@@ -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) ->