Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/lib


Modified Files:
        libevfs.c 


Log Message:
Squashed a mem leak

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/evfs/src/lib/libevfs.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- libevfs.c   18 Oct 2005 04:55:08 -0000      1.9
+++ libevfs.c   18 Oct 2005 22:26:44 -0000      1.10
@@ -145,7 +145,7 @@
        ecore_list_append(reserved, "#");
        ecore_list_append(reserved, ";");
 
-       printf ("Lexing '%s'\n", uri);
+       //printf ("Lexing '%s'\n", uri);
 
        while (j < strlen(uri)) {
                new_alpha = isalnum(l_uri[i]) | isspace(l_uri[i]);      
@@ -230,11 +230,11 @@
        token = ecore_dlist_next(tokens);
        
        if (token && token->type == type) {
-               printf("Got expected token type, '%s'\n", token->token_s);
+               //printf("Got expected token type, '%s'\n", token->token_s);
                return token;
        } else {
                ecore_dlist_previous(tokens);
-               printf("Didn't get expected token type, '%s'\n", 
token->token_s);
+               //printf("Didn't get expected token type, '%s'\n", 
token->token_s);
                return NULL;
        }
 }
@@ -269,7 +269,7 @@
        tokens = evfs_tokenize_uri(uri);
        ecore_dlist_goto_first(tokens);
        while ( (token = ecore_dlist_next(tokens)) ) {
-               printf("Token str: '%s'\n", token->token_s);
+               //printf("Token str: '%s'\n", token->token_s);
        }
        
        ecore_dlist_goto_first(tokens);
@@ -291,7 +291,7 @@
                /*Looks like we have an auth structure...*/
                token = evfs_token_expect(tokens, EVFS_URI_TOKEN_STRING);
                if (token) {
-                       printf("Username is '%s'\n", token->token_s);
+                       //printf("Username is '%s'\n", token->token_s);
                        ref->username = strdup(token->token_s);
                }
 
@@ -299,7 +299,7 @@
                token = evfs_token_expect(tokens, EVFS_URI_TOKEN_STRING);
 
                if (token) {
-                       printf("Password is '%s'\n", token->token_s);
+                       //printf("Password is '%s'\n", token->token_s);
                        ref->password = strdup(token->token_s);
                }
 
@@ -318,7 +318,7 @@
        }
        //ref->plugin = evfs_get_plugin_for_uri(ref->plugin_uri);
 
-       printf("Final built path: URI: %s, '%s'\n", ref->plugin_uri, ref->path);
+       //printf("Final built path: URI: %s, '%s'\n", ref->plugin_uri, 
ref->path);
        
        path->files = malloc(sizeof(evfs_filereference*));
        path->files[0] = ref;




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to