Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 vm/classloader.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/vm/classloader.c b/vm/classloader.c
index 4aaf7fc..c559842 100644
--- a/vm/classloader.c
+++ b/vm/classloader.c
@@ -72,12 +72,11 @@ char *get_classpath(void)
        first = true;
 
        list_for_each_entry(cp, &classpaths, node) {
-               if (!first) {
+               if (!first)
                        str_append(str, ":");
-                       first = false;
-               }
 
                str_append(str, "%s", cp->path);
+               first = false;
        }
 
        value = strdup(str->value);
-- 
1.6.0.6


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to