Changeset 3522

Show
Ignore:
Timestamp:
03/25/08 18:51:13
Author:
agarcia
Message:

2008-03-25 Alberto Garcia Gonzalez <agarcia@igalia.com>

  • libtinymail-gnomevfs/tny-vfs-stream.c:

(tny_vfs_reset): Set priv->position to 0 after a successful reset

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3520 r3522  
     12008-03-25  Alberto Garcia Gonzalez <agarcia@igalia.com> 
     2 
     3        * libtinymail-gnomevfs/tny-vfs-stream.c: 
     4        (tny_vfs_reset): Set priv->position to 0 after a successful reset 
     5 
    162008-03-25  Philip Van Hoof <pvanhoof@gnome.org> 
    27 
  • trunk/libtinymail-gnomevfs/tny-vfs-stream.c

    r3456 r3522  
    334334        res = gnome_vfs_seek (priv->handle, GNOME_VFS_SEEK_START, 0); 
    335335 
    336         if (res != GNOME_VFS_OK) 
    337         { 
     336        if (res == GNOME_VFS_OK) { 
     337                priv->position = 0; 
     338        } else { 
    338339                tny_vfs_stream_set_errno (res); 
    339340                retval = -1;