diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-01 17:31:41 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-01 17:31:41 +0000 |
commit | 68a4c9676ef15c1030ce758e9642624e86b41ac5 (patch) | |
tree | 0046fe7c0ae61a33ae5db2b3048fb5874ef4ec7c /cdr | |
parent | 474f5219a91fae822bf69c9d1da005abbc4a945e (diff) |
ensure that failure to register the cdr_custom backend results in a module load failure
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5343 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr')
-rwxr-xr-x | cdr/cdr_custom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_custom.c b/cdr/cdr_custom.c index 07e7ff380..08abbcae0 100755 --- a/cdr/cdr_custom.c +++ b/cdr/cdr_custom.c @@ -142,7 +142,7 @@ int load_module(void) if (mf) fclose(mf); } - return 0; + return res; } int reload(void) |