ensure that failure to register the cdr_custom backend results in a module load failure
authorKevin P. Fleming <kpfleming@digium.com>
Fri, 1 Apr 2005 17:31:41 +0000 (17:31 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Fri, 1 Apr 2005 17:31:41 +0000 (17:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5343 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cdr/cdr_custom.c

index 07e7ff3..08abbca 100755 (executable)
@@ -142,7 +142,7 @@ int load_module(void)
                if (mf)
                        fclose(mf);
        }
-       return 0;
+       return res;
 }
 
 int reload(void)