Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_fm_mime.c 


Log Message:
Fix return value.
Fix pointer advance.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_fm_mime.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- e_fm_mime.c 30 Jul 2006 16:58:38 -0000      1.1
+++ e_fm_mime.c 6 Aug 2006 02:15:14 -0000       1.2
@@ -160,9 +160,10 @@
             evas_stringshare_del(mime->glob);
             evas_stringshare_del(mime->mime);
             free(mime);
-            return;
+            return 1;
          }
      }
+   return 0;
 }
 
 static void
@@ -264,7 +265,7 @@
        while ((*p != 0) && (*p != '\n'))
          {
             *pp = *p;
-            *pp++;
+            pp++;
             p++;
          }
        *pp = 0;



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to