]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix sexpr2string() to handle empty list.
authorJim Fehlig <jfehlig@novell.com>
Tue, 25 Aug 2009 21:54:18 +0000 (15:54 -0600)
committerDaniel P. Berrange <berrange@redhat.com>
Sun, 30 Aug 2009 10:56:03 +0000 (11:56 +0100)
commit8fd7eee90e8bd592722433e45b93dbb699052fd8
tree0a5bd3355767b0c3fa6f3341d7ea8c900879a68c
parent83af0508007d787e74a57a1fca290f632a58dda7
Fix sexpr2string() to handle empty list.

S-expression containing empty lists, e.g. (cpus (() () () ())),
was not being handled properly in sexpr2string() serialization.
Emit an empty list when encountering NIL sexpr kind.
src/sexpr.c