Commits

Jacob Perkins committed 29dbe69

vsn 0.1.4, handle empty list case in sr_scall

  • Participants
  • Parent commits e465220

Comments (0)

Files changed (3)

File ebin/erldis.app

 {application, erldis, [
 	{description, "Erlang Redis application"},
-	{vsn, "0.1.3"},
+	{vsn, "0.1.4"},
 	{registered, [erldis_sup]},
 	{mod, {erldis_app, []}},
 	{applications, [kernel, stdlib]},

File ebin/erldis.appup

-{"0.1.3", [
+{"0.1.4", [
+	{"0.1.3", [{load_module, erldis_client}]},
 	{"0.1.2", [{load_module, erldis_client}]},
 	{"0.1.1", [
 		{load_module, erldis},
 		{add_module, erldis_sets}
 	]}
 ], [
+	{"0.1.3", [{load_module, erldis_client}]},
 	{"0.1.2", [{load_module, erldis_client}]},
 	{"0.1.1", [
 		{load_module, erldis},

File src/erldis_client.erl

 sr_scall(Client, Cmd, Args) ->
 	case scall(Client, Cmd, Args) of
 		[R] -> R;
+		[] -> nil;
 		ok -> ok
 	end.