diff options
author | Martin Willi <martin@strongswan.org> | 2005-12-05 16:30:53 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-12-05 16:30:53 +0000 |
commit | f673471b10622a5b9f0d9d0fa66cfc951541b91d (patch) | |
tree | 51d15336ea1777c3f9b4192999953a5f44f8cffa /Source/charon/utils/identification.c | |
parent | ba425b87dd0aee3f03df39a5f778f8cec0f3ec7a (diff) | |
download | strongswan-f673471b10622a5b9f0d9d0fa66cfc951541b91d.tar.bz2 strongswan-f673471b10622a5b9f0d9d0fa66cfc951541b91d.tar.xz |
- some doc updates
Diffstat (limited to 'Source/charon/utils/identification.c')
-rw-r--r-- | Source/charon/utils/identification.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/charon/utils/identification.c b/Source/charon/utils/identification.c index 2e594dd7f..b2dc299f4 100644 --- a/Source/charon/utils/identification.c +++ b/Source/charon/utils/identification.c @@ -125,7 +125,7 @@ static void destroy(private_identification_t *this) allocator_free(this); } -/** +/* * Generic constructor used for the other twos */ static private_identification_t *identification_create() @@ -240,7 +240,9 @@ identification_t *identification_create_from_encoding(id_type_t type, chunk_t en } } - /* build string, must be cloned */ + /* build string, must be cloned since + * inet_ntoa points to a subsequently + * overwritten buffer */ this->string = allocator_alloc(strlen(string)+1); strcpy(this->string, string); |