projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'RELEASE_0_18_0'.
[m6w6/ext-http]
/
http_api.c
diff --git
a/http_api.c
b/http_api.c
index a78416a0bcb5bc73ff0c384cfac3530ae3d1e19c..2be27d0c79632b50722ecdaec6493b5bb781cda6 100644
(file)
--- a/
http_api.c
+++ b/
http_api.c
@@
-88,7
+88,7
@@
char *_http_pretty_key(char *key, size_t key_len, zend_bool uctitle, zend_bool x
if (key && key_len) {
size_t i;
int wasalpha;
if (key && key_len) {
size_t i;
int wasalpha;
- if (
wasalpha = isalpha((int) key[0]
)) {
+ if (
(wasalpha = isalpha((int) key[0])
)) {
key[0] = (char) (uctitle ? toupper((int) key[0]) : tolower((int) key[0]));
}
for (i = 1; i < key_len; i++) {
key[0] = (char) (uctitle ? toupper((int) key[0]) : tolower((int) key[0]));
}
for (i = 1; i < key_len; i++) {