]> git.pld-linux.org Git - packages/libidn.git/blame - libidn-python.patch
- updated to 1.20
[packages/libidn.git] / libidn-python.patch
CommitLineData
0851c779
JB
1--- libidn-0.4.3/contrib/idn-python/idn.c.orig 2004-04-05 22:52:12.000000000 +0200
2+++ libidn-0.4.3/contrib/idn-python/idn.c 2004-04-24 20:50:51.796764136 +0200
3@@ -26,7 +26,7 @@
4 PyObject *outstr;
5 if (!PyArg_ParseTuple (args, "s", &instr))
6 onError ("Invalid argument");
7- rc = idna_to_ascii_8z (instr, &result);
8+ rc = idna_to_ascii_8z (instr, &result, 0);
9 if (rc != IDNA_SUCCESS)
10 {
11 switch (rc)
12@@ -56,7 +56,7 @@
13 PyObject *outstr;
14 if (!PyArg_ParseTuple (args, "s", &instr))
15 onError ("Invalid argument");
16- rc = idna_to_unicode_8z8z (instr, &result);
17+ rc = idna_to_unicode_8z8z (instr, &result, 0);
18 if (rc != IDNA_SUCCESS)
19 {
20 result = malloc (MESSAGE_SIZE);
This page took 0.087379 seconds and 4 git commands to generate.