[Home]

Summary:ASTERISK-14293: Typo in ast_db_gettree
Reporter:Tim King (timking)Labels:
Date Opened:2009-06-09 13:33:22Date Closed:2009-06-11 10:41:34
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:@@ -481,7 +481,7 @@
       if (!ast_strlen_zero(family)) {
                       if (!ast_strlen_zero(keytree)) {
                                               /* Family and key tree */
+                                               snprintf(prefix, sizeof(prefix), "/%s/%s", family, keytree);
-                                               snprintf(prefix, sizeof(prefix), "/%s/%s", family, prefix);
                                                               } else {


****** ADDITIONAL INFORMATION ******

Been there a long time!
ast_db_gettree currently only ever called with keytree == NULL
Comments:By: Leif Madsen (lmadsen) 2009-06-10 11:57:40

Hey! Another issue Mr. Brooks can probably quickly bang out. Thanks!

By: David Brooks (dbrooks) 2009-06-11 10:41:34

This is a duplicate to 14177, already patched in all branches.