Klaus Demo nginx / 8b99e3f
pull all errors Igor Sysoev 14 years ago
1 changed file(s) with 9 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
11581158 void ngx_cdecl
11591159 ngx_ssl_error(ngx_uint_t level, ngx_log_t *log, ngx_err_t err, char *fmt, ...)
11601160 {
1161 u_long n;
1162 va_list args;
1163 u_char errstr[NGX_MAX_CONF_ERRSTR], *p, *last;
1161 u_long n;
1162 va_list args;
1163 u_char *p, *last;
1164 u_char errstr[NGX_MAX_CONF_ERRSTR];
11641165
11651166 last = errstr + NGX_MAX_CONF_ERRSTR;
11661167
11701171
11711172 p = ngx_cpystrn(p, (u_char *) " (SSL:", last - p);
11721173
1173 while (p < last) {
1174 for ( ;; ) {
11741175
11751176 n = ERR_get_error();
11761177
11771178 if (n == 0) {
11781179 break;
1180 }
1181
1182 if (p >= last) {
1183 continue;
11791184 }
11801185
11811186 *p++ = ' ';