Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/plugins


Modified Files:
        evfs_fs_samba.c 


Log Message:
* Minor smb update
* printf--

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/plugins/evfs_fs_samba.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- evfs_fs_samba.c     1 Jan 2006 04:21:52 -0000       1.25
+++ evfs_fs_samba.c     2 Jan 2006 07:54:02 -0000       1.26
@@ -226,6 +226,13 @@
        static struct stat smb_stat;
 
        //struct stat* file_stat = calloc(1,sizeof(struct stat));
+       //
+       /*Does this command have an attached authentication object?*/
+       if (command->file_command.files[0]->username) {
+               printf("We have a username, adding to hash..\n");
+               evfs_auth_structure_add(auth_cache,  
command->file_command.files[0]->username, 
+                               command->file_command.files[0]->password, 
command->file_command.files[0]->path);
+       }
        
        
        sprintf(dir,"smb:/%s", command->file_command.files[0]->path);




-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to