[svn-commits] kpfleming: trunk r947 - in /trunk: menuselect.c menuselect.h
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Oct 14 17:31:30 CDT 2011
Author: kpfleming
Date: Fri Oct 14 17:31:26 2011
New Revision: 947
URL: http://svnview.digium.com/svn/menuselect?view=rev&rev=947
Log:
Entries without a support level should be listed as 'unspecified', to keep
users from wondering what 'other' support level has been assigned to them.
Modified:
trunk/menuselect.c
trunk/menuselect.h
Modified: trunk/menuselect.c
URL: http://svnview.digium.com/svn/menuselect/trunk/menuselect.c?view=diff&rev=947&r1=946&r2=947
==============================================================================
--- trunk/menuselect.c (original)
+++ trunk/menuselect.c Fri Oct 14 17:31:26 2011
@@ -241,7 +241,7 @@
static int support_level_assign_value(const char *support_level)
{
if (!support_level) {
- return SUPPORT_OTHER;
+ return SUPPORT_UNSPECIFIED;
}
if (!strncasecmp(support_level, "core", 4)) {
@@ -256,7 +256,7 @@
return SUPPORT_DEPRECATED;
}
- return SUPPORT_OTHER;
+ return SUPPORT_UNSPECIFIED;
}
/*! \gets const separator strings from support level values */
@@ -271,7 +271,7 @@
return "deprecated";
}
- return "other";
+ return "unspecified";
}
/*! \sets default values for a given separator */
Modified: trunk/menuselect.h
URL: http://svnview.digium.com/svn/menuselect/trunk/menuselect.h?view=diff&rev=947&r1=946&r2=947
==============================================================================
--- trunk/menuselect.h (original)
+++ trunk/menuselect.h Fri Oct 14 17:31:26 2011
@@ -100,7 +100,7 @@
SUPPORT_CORE = 0,
SUPPORT_EXTENDED = 1,
SUPPORT_DEPRECATED = 2,
- SUPPORT_OTHER = 3,
+ SUPPORT_UNSPECIFIED = 3,
SUPPORT_COUNT = 4, /* Keep this item at the end of the list. Tracks total number of support levels. */
};
More information about the svn-commits
mailing list