X-Git-Url: https://git.sesse.net/?p=xml-template;a=blobdiff_plain;f=c%2B%2B0x%2Fattribute.cpp;h=e6513230be4b083d8910af28edd7da87dad85429;hp=6c341bd9019b419d9c9647d9e43203d283b6af20;hb=ad45bc892752571fec46b21564e4683c074f1d46;hpb=d9fe760eebc1e40789f2fd769dcba74e3b0dbcbb diff --git a/c++0x/attribute.cpp b/c++0x/attribute.cpp index 6c341bd..e651323 100644 --- a/c++0x/attribute.cpp +++ b/c++0x/attribute.cpp @@ -28,6 +28,7 @@ int main(int argc, char **argv) }), }; - process_file("../xml/clone.xml", argv[1], &master_directive); + xmlDocPtr doc = process_file("../xml/clone.xml", &master_directive); + output_to_fd_and_free(doc, 1); return(0); }