chiark / gitweb /
lj2news: enable namespace support
authorRichard Kettlewell <rjk@terraraq.org.uk>
Sat, 27 Oct 2012 11:01:02 +0000 (12:01 +0100)
committerRichard Kettlewell <rjk@terraraq.org.uk>
Sat, 27 Oct 2012 11:01:02 +0000 (12:01 +0100)
LJ have started using it in their RSS.

gateways/lj2news.c

index 12f373f..b23c5dd 100644 (file)
@@ -561,7 +561,7 @@ Rarely used options:\n\
   /* nnrp posting will happen from a thread */
   create_postthread(pf, server, port, timeout);
   /* init expat */
-  p = XML_ParserCreate(0);
+  p = XML_ParserCreateNS(0, ' ');
   /* process URLs as requested */
   for(n = optind; n < argc; ++n) {
     if(pipe(urlpipe) < 0) fatal(errno, "error calling pipe");