Summary: | ASTERISK-10782: [patch] Reuse code in hashtab.c | ||
Reporter: | snuffy (snuffy) | Labels: | |
Date Opened: | 2007-11-15 15:16:07.000-0600 | Date Closed: | 2007-11-21 09:09:24.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) patch-11265.diff | |
Description: | Thought some of this code could be reused. Removed some of the comments within functions since it is already defined in the .h Removed lock checking when it is a non locking list anyway. Move declaration of const void* out of for loop. I've compiled and done some basic tests. | ||
Comments: | By: snuffy (snuffy) 2007-11-15 15:26:12.000-0600 please delete patch-11125 didn't check autocomplete ;) By: Digium Subversion (svnbot) 2007-11-21 09:09:24.000-0600 Repository: asterisk Revision: 89478 U trunk/main/hashtab.c U trunk/res/res_features.c ------------------------------------------------------------------------ r89478 | murf | 2007-11-21 09:09:22 -0600 (Wed, 21 Nov 2007) | 1 line closes issue ASTERISK-10782; Thanks to snuffy for his work on neatening up the code and removing duplicated code. ------------------------------------------------------------------------ |