X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_api.c;h=2be27d0c79632b50722ecdaec6493b5bb781cda6;hp=a78416a0bcb5bc73ff0c384cfac3530ae3d1e19c;hb=92f5e5a5df0bff3d8076c1f5ed73590b40849501;hpb=8d25696948ed61d50c417275222117f43069ddd1 diff --git a/http_api.c b/http_api.c index a78416a..2be27d0 100644 --- 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 (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++) {