aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_str.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-04-12 11:50:06 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-04-12 11:50:06 +0000
commit8107709672bfd4f71c8f89e0f51494b4bd02adef (patch)
treefd3f3efe4e8fdf7530df21211bd9b4c49a4b95a3 /src/microhttpd/mhd_str.c
parentdc854bdfcff4f07dd70479484c4137f8d1a1320b (diff)
downloadlibmicrohttpd-8107709672bfd4f71c8f89e0f51494b4bd02adef.tar.gz
libmicrohttpd-8107709672bfd4f71c8f89e0f51494b4bd02adef.zip
mhd_str.c: cosmetics, corrected comments
Diffstat (limited to 'src/microhttpd/mhd_str.c')
-rw-r--r--src/microhttpd/mhd_str.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/microhttpd/mhd_str.c b/src/microhttpd/mhd_str.c
index 7a8dbd93..bf9101ff 100644
--- a/src/microhttpd/mhd_str.c
+++ b/src/microhttpd/mhd_str.c
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#ifdef INLINE_FUNC 41#ifdef INLINE_FUNC
42 /** 42/**
43 * Check whether character is lower case letter in US-ASCII 43 * Check whether character is lower case letter in US-ASCII
44 * @param c character to check 44 * @param c character to check
45 * @return non-zero if character is lower case letter, zero otherwise 45 * @return non-zero if character is lower case letter, zero otherwise
@@ -99,7 +99,7 @@ isasciialmun (char c)
99 * If character is upper case letter in US-ASCII than it's converted to lower 99 * If character is upper case letter in US-ASCII than it's converted to lower
100 * case analog. If character is NOT upper case letter than it's returned 100 * case analog. If character is NOT upper case letter than it's returned
101 * unmodified. 101 * unmodified.
102 * @param c character to check 102 * @param c character to convert
103 * @return converted to lower case character 103 * @return converted to lower case character
104 */ 104 */
105_MHD_inline char 105_MHD_inline char
@@ -108,12 +108,12 @@ toasciilower (char c)
108 return isasciiupper (c) ? (c - 'A' + 'a') : c; 108 return isasciiupper (c) ? (c - 'A' + 'a') : c;
109} 109}
110 110
111 /** 111/**
112 * Convert US-ASCII character to upper case. 112 * Convert US-ASCII character to upper case.
113 * If character is lower case letter in US-ASCII than it's converted to upper 113 * If character is lower case letter in US-ASCII than it's converted to upper
114 * case analog. If character is NOT lower case letter than it's returned 114 * case analog. If character is NOT lower case letter than it's returned
115 * unmodified. 115 * unmodified.
116 * @param c character to check 116 * @param c character to convert
117 * @return converted to upper case character 117 * @return converted to upper case character
118 */ 118 */
119_MHD_inline char 119_MHD_inline char
@@ -156,7 +156,7 @@ toasciiupper (char c)
156 */ 156 */
157#define isasciidigit(c) (((char)(c)) >= '0' && ((char)(c)) <= '9') 157#define isasciidigit(c) (((char)(c)) >= '0' && ((char)(c)) <= '9')
158 158
159 /** 159/**
160 * Check whether character is decimal digit or letter in US-ASCII 160 * Check whether character is decimal digit or letter in US-ASCII
161 * @param c character to check 161 * @param c character to check
162 * @return boolean true if character is decimal digit or letter, 162 * @return boolean true if character is decimal digit or letter,
@@ -169,7 +169,7 @@ toasciiupper (char c)
169 * If character is upper case letter in US-ASCII than it's converted to lower 169 * If character is upper case letter in US-ASCII than it's converted to lower
170 * case analog. If character is NOT upper case letter than it's returned 170 * case analog. If character is NOT upper case letter than it's returned
171 * unmodified. 171 * unmodified.
172 * @param c character to check 172 * @param c character to convert
173 * @return converted to lower case character 173 * @return converted to lower case character
174 */ 174 */
175#define toasciilower(c) ((isasciiupper(c)) ? (((char)(c)) - 'A' + 'a') : ((char)(c))) 175#define toasciilower(c) ((isasciiupper(c)) ? (((char)(c)) - 'A' + 'a') : ((char)(c)))
@@ -179,7 +179,7 @@ toasciiupper (char c)
179 * If character is lower case letter in US-ASCII than it's converted to upper 179 * If character is lower case letter in US-ASCII than it's converted to upper
180 * case analog. If character is NOT lower case letter than it's returned 180 * case analog. If character is NOT lower case letter than it's returned
181 * unmodified. 181 * unmodified.
182 * @param c character to check 182 * @param c character to convert
183 * @return converted to upper case character 183 * @return converted to upper case character
184 */ 184 */
185#define toasciiupper(c) ((isasciilower(c)) ? (((char)(c)) - 'a' + 'A') : ((char)(c))) 185#define toasciiupper(c) ((isasciilower(c)) ? (((char)(c)) - 'a' + 'A') : ((char)(c)))