changeset 158:fb3b2d77518f

Merged
author Sascha Wilde <wilde@intevation.de>
date Tue, 25 Mar 2014 09:30:51 +0100
parents a46a4b443410 (diff) f09a0817e3bc (current diff)
children 37c9653b8755 6d64d7e9fa32
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cinst/mozilla.c	Tue Mar 25 09:23:47 2014 +0100
+++ b/cinst/mozilla.c	Tue Mar 25 09:30:51 2014 +0100
@@ -116,8 +116,8 @@
           /* If we are in a profile parse path related stuff */
           if (inprofile)
             {
-              value = line;
-              key = strsep(&value, "=");
+              key = strtok(line, "=");
+              value = strtok(NULL, "=");
               str_trim(&value);
               if (str_equal(key, "Path"))
                 {

http://wald.intevation.org/projects/trustbridge/