[asterisk-bugs] [Asterisk 0012580]: Fails to load if sock not specified in config
noreply at bugs.digium.com
noreply at bugs.digium.com
Sun May 4 03:50:51 CDT 2008
The following issue has been SUBMITTED.
======================================================================
http://bugs.digium.com/view.php?id=12580
======================================================================
Reported By: pnlarsson
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12580
Category: Addons/cdr_addon_mysql
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 584
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 05-04-2008 03:50 CDT
Last Modified: 05-04-2008 03:50 CDT
======================================================================
Summary: Fails to load if sock not specified in config
Description:
If the socket is not specified in the config file, cdr_addons_mysql will
fail to load. This is where mysql is running on the same machine.
The patch attached solves this issue, without the patch the dbsock->str
contains (null) and then fails the ast_strlen_zero test.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
05-04-08 03:50 pnlarsson Asterisk Version => SVN
05-04-08 03:50 pnlarsson SVN Branch (only for SVN checkou => N/A
05-04-08 03:50 pnlarsson SVN Revision (number only!) => 584
======================================================================
More information about the asterisk-bugs
mailing list