aboutsummaryrefslogtreecommitdiffstats
path: root/xmllint.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-12-13 14:24:09 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-12-13 14:24:09 +0000
commit9ae4b7afa98d1904d786f5e10db49ada8a2945ad (patch)
treed9bfacefe551abb04b7b6d5ef9600e2d869cd63d /xmllint.c
parented472f34d2b70efd986c610bef2f8c09b02e14ab (diff)
downloadandroid_external_libxml2-9ae4b7afa98d1904d786f5e10db49ada8a2945ad.tar.gz
android_external_libxml2-9ae4b7afa98d1904d786f5e10db49ada8a2945ad.tar.bz2
android_external_libxml2-9ae4b7afa98d1904d786f5e10db49ada8a2945ad.zip
removed another strdup() removed the HP/UX entry Daniel
* xmllint.c: removed another strdup() * doc/FAQ: removed the HP/UX entry Daniel
Diffstat (limited to 'xmllint.c')
-rw-r--r--xmllint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmllint.c b/xmllint.c
index f2a1312c..b44bf48b 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -379,7 +379,7 @@ xmlShellReadline(char *prompt) {
if (!fgets(line_read, 500, stdin))
return(NULL);
line_read[500] = 0;
- return(strdup(line_read));
+ return((char *) xmlStrdup((xmlChar *) line_read));
#endif
}