|
|
| version 1.68, 2001/07/27 12:59:36 | version 1.69, 2001/08/02 09:58:33 |
|---|---|
| Line 124 static void _lsplit(Request& r, const St | Line 124 static void _lsplit(Request& r, const St |
| Table& table=*new(pool) Table(pool, &string, | Table& table=*new(pool) Table(pool, &string, |
| &columns, pieces.size()); | &columns, pieces.size()); |
| int size=pieces.quick_size(); | Array_iter i(pieces); |
| for(int i=0; i<size; i++) { | while(i.has_next()) { |
| Array& row=*new(pool) Array(pool); | Array& row=*new(pool) Array(pool); |
| row+=pieces.quick_get(i); | row+=i.next(); |
| table+=&row; | table+=&row; |
| } | } |
| r.write_no_lang(*new(pool) VTable(pool, &table)); | r.write_no_lang(*new(pool) VTable(pool, &table)); |