88dc5d9afb3ed6353a9ba1d89bb4c9c9321abce3
[openwrt/svn-archive/archive.git] / net / strongswan4 / patches / 202-clone.patch
1 Index: strongswan-4.3.7/src/libstrongswan/utils/identification.c
2 ===================================================================
3 --- strongswan-4.3.7.orig/src/libstrongswan/utils/identification.c 2010-11-04 01:34:00.492000001 +0100
4 +++ strongswan-4.3.7/src/libstrongswan/utils/identification.c 2010-11-04 01:34:06.791999987 +0100
5 @@ -810,7 +810,7 @@
6 return print_in_hook(dst, len, "%*s", spec->width, buf);
7 }
8
9 -METHOD(identification_t, clone, identification_t*,
10 +METHOD(identification_t, clone_, identification_t*,
11 private_identification_t *this)
12 {
13 private_identification_t *clone = malloc_thing(private_identification_t);
14 @@ -842,7 +842,7 @@
15 .get_encoding = _get_encoding,
16 .get_type = _get_type,
17 .create_part_enumerator = _create_part_enumerator,
18 - .clone = _clone,
19 + .clone = _clone_,
20 .destroy = _destroy,
21 },
22 .type = type,