Permalink
Browse files

adding a guard like a BOSS

  • Loading branch information...
1 parent dd1ba63 commit b98f7358c52602c0c63b0022e4197910feaa7a63 Jacob Vorreuter committed Jun 2, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mcerlang.erl
View
@@ -50,7 +50,7 @@
%% Host = string()
%% Port = integer()
%% ConnectionPoolSize = integer()
-start_link(CacheServers) ->
+start_link(CacheServers) when is_list(CacheServers) ->
gen_server:start_link({local, ?MODULE}, ?MODULE, CacheServers, []).
get(Key) ->

0 comments on commit b98f735

Please sign in to comment.