comparison src/lstream.c @ 82:6a378aca36af r20-0b91

Import from CVS: tag r20-0b91
author cvs
date Mon, 13 Aug 2007 09:07:36 +0200
parents 54cc21c15cbb
children cf808b4c4290
comparison
equal deleted inserted replaced
81:ebca3d831cea 82:6a378aca36af
707 } 707 }
708 708
709 int 709 int
710 Lstream_close (Lstream *lstr) 710 Lstream_close (Lstream *lstr)
711 { 711 {
712 int rc =0; 712 int rc = 0;
713 713
714 if (lstr->flags & LSTREAM_FL_IS_OPEN) 714 if (lstr->flags & LSTREAM_FL_IS_OPEN)
715 { 715 {
716 /* don't return here on error, or file descriptor leak will result. */ 716 /* don't return here on error, or file descriptor leak will result. */
717 rc = Lstream_pseudo_close (lstr); 717 rc = Lstream_pseudo_close (lstr);