get_cur_line_idx() in class.Channel_Buffer_Mem.inc
Brought to you by:
letreo
Name: C. Heimerl
Email: mail@t3c.de
function get_cur_line_idx() {
if (!$this->connected) $this->connect();
$this->lock();
$this->cur_line_idx = shm_get_var($this->shm_id,CB_CUR_LINE_IDX);
return $this->cur_line_idx;
$this->unlock();
}
hi,
da ihr einen return machte bevor das unlock aufgerufen wird, kommt das unlock nie zum zug.
lg C.Heimerl