From 318406a0c58e50eb52d123198fd85f776448972f Mon Sep 17 00:00:00 2001
From: Anthony Minessale II <anthmct@yahoo.com>
Date: Thu, 31 Mar 2005 15:55:44 +0000
Subject: [PATCH] unconfigured cdr_custom should not be fatal

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 cdr/cdr_custom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cdr/cdr_custom.c b/cdr/cdr_custom.c
index 28ff2e0cd7..fee4444e6f 100755
--- a/cdr/cdr_custom.c
+++ b/cdr/cdr_custom.c
@@ -135,7 +135,7 @@ int load_module(void)
 		if (mf)
 			fclose(mf);
 	}
-	return res;
+	return 0;
 }
 
 int reload(void)
-- 
GitLab