Changes:

        if ((s3 = strstr(s2, ":/")))
                s2[strlen(s2) - strlen(s3)]

obviously simplifies to

        if ((s3 = strstr(s2, ":/")))
                *s3 = '\0';

Christian Brauner (1):
  Parse rootfs->path

 src/lxc/conf.c | 98 +++++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 73 insertions(+), 25 deletions(-)

-- 
2.6.1

_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to