Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : apps/evfs
Dir : e17/apps/evfs/src/plugins
Modified Files:
evfs_fs_posix.c evfs_fs_samba.c
Log Message:
* Some error checking code
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/evfs_fs_posix.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- evfs_fs_posix.c 31 Jan 2006 05:46:52 -0000 1.31
+++ evfs_fs_posix.c 3 Feb 2006 14:23:54 -0000 1.32
@@ -446,7 +446,7 @@
file->fd = fd;
- return 0;
+ return fd;
}
int
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/evfs_fs_samba.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- evfs_fs_samba.c 31 Jan 2006 05:46:52 -0000 1.29
+++ evfs_fs_samba.c 3 Feb 2006 14:23:54 -0000 1.30
@@ -422,7 +422,10 @@
file->fd_p = smb_context->open (smb_context, dir_path, O_RDONLY, S_IRUSR);
file->fd = smb_fd_get_next (file->fd_p);
- return file->fd;
+ if (file->fd_p)
+ return file->fd;
+ else
+ return -1;
}
int
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs