Skip to content

Commit c2d5ea5

Browse files
revert changes into
1 parent c5be00e commit c2d5ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/myxql/protocol/types.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ defmodule MyXQL.Protocol.Types do
7070

7171
def take_string_nul(""), do: {nil, ""}
7272

73-
def take_string_nul(binary) when is_binary(binary) do
73+
def take_string_nul(binary) do
7474
[string, rest] = :binary.split(binary, <<0>>)
7575
{string, rest}
7676
end

0 commit comments

Comments
 (0)