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