Style change. (Test commit for new update script in hackers@)
This commit is contained in:
@@ -333,10 +333,11 @@ buildpath(const char *path)
|
|||||||
p = (char *)&path[1];
|
p = (char *)&path[1];
|
||||||
homedir = getcurrentuserhomedir();
|
homedir = getcurrentuserhomedir();
|
||||||
} else {
|
} else {
|
||||||
if ((p = strchr(path, '/')))
|
if ((p = strchr(path, '/'))) {
|
||||||
name = g_strndup(&path[1], --p - path);
|
name = g_strndup(&path[1], --p - path);
|
||||||
else
|
} else {
|
||||||
name = g_strdup(&path[1]);
|
name = g_strdup(&path[1]);
|
||||||
|
}
|
||||||
|
|
||||||
homedir = getuserhomedir(name);
|
homedir = getuserhomedir(name);
|
||||||
g_free(name);
|
g_free(name);
|
||||||
|
|||||||
Reference in New Issue
Block a user