OSDN Git Service

core: Fix missing initialization for local_uuid for external profiles
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 13 Nov 2012 09:08:39 +0000 (11:08 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 13 Nov 2012 10:36:38 +0000 (12:36 +0200)
src/profile.c

index 650d572..c878bce 100644 (file)
@@ -1115,6 +1115,7 @@ static struct ext_profile *create_ext(const char *owner, const char *path,
        p = &ext->p;
 
        p->name = ext->name;
+       p->local_uuid = ext->uuid;
 
        /* Typecast can't really be avoided here:
         * http://c-faq.com/ansi/constmismatch.html */