From ac2e9f43f7eeeb7b288bdbb9c018c6e1348e780d Mon Sep 17 00:00:00 2001 From: Brian May Date: Fri, 1 Apr 2022 17:43:30 +1100 Subject: [PATCH] Add missing function clause Fixes #82 --- lib/paddle/parsing.ex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/paddle/parsing.ex b/lib/paddle/parsing.ex index b521657..f7ebc2a 100644 --- a/lib/paddle/parsing.ex +++ b/lib/paddle/parsing.ex @@ -153,6 +153,10 @@ defmodule Paddle.Parsing do {:error, :noSuchObject} end + def clean_eldap_search_results({:ok, {:eldap_search_result, [], [], :asn1_NOVALUE}}, _base) do + {:error, :noSuchObject} + end + def clean_eldap_search_results({:ok, {:eldap_search_result, entries, []}}, base) do {:ok, clean_entries(entries, base)} end