Mercurial > hg > nginx-quic
comparison src/core/ngx_rbtree.c @ 557:ecd9c160f25b release-0.3.0
nginx-0.3.0-RELEASE import
*) Change: the 10-days live time limit of worker process was
eliminated. The limit was introduced because of millisecond timers
overflow.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 07 Oct 2005 13:30:52 +0000 |
parents | 975f62e77f02 |
children | c1f965ef9718 |
comparison
equal
deleted
inserted
replaced
556:21a706ff4e1f | 557:ecd9c160f25b |
---|---|
45 } | 45 } |
46 | 46 |
47 temp = *root; | 47 temp = *root; |
48 | 48 |
49 for ( ;; ) { | 49 for ( ;; ) { |
50 if (node->key < temp->key) { | 50 |
51 /* node->key < temp->key */ | |
52 | |
53 if ((ngx_rbtree_key_int_t) node->key - (ngx_rbtree_key_int_t) temp->key | |
54 < 0) | |
55 { | |
51 if (temp->left == sentinel) { | 56 if (temp->left == sentinel) { |
52 temp->left = node; | 57 temp->left = node; |
53 break; | 58 break; |
54 } | 59 } |
55 | 60 |