From 5dad045dd1c3e287bcc00fd077faef27a68c43b2 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Thu, 9 Nov 2006 17:47:23 +0000 Subject: [PATCH] STR_UI_XNSTRING -> STR_DATA. --- lib/silccore/silcid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/silccore/silcid.c b/lib/silccore/silcid.c index 027cf6ea..3f7e8b1f 100644 --- a/lib/silccore/silcid.c +++ b/lib/silccore/silcid.c @@ -69,7 +69,7 @@ SilcIDPayload silc_id_payload_parse(const unsigned char *payload, goto err; ret = silc_buffer_unformat(&buffer, - SILC_STR_UI_XNSTRING_ALLOC(&newp->id, newp->len), + SILC_STR_DATA_ALLOC(&newp->id, newp->len), SILC_STR_END); if (ret == -1) goto err; @@ -113,7 +113,7 @@ SilcBool silc_id_payload_parse_id(const unsigned char *data, SilcUInt32 len, goto err; ret = silc_buffer_unformat(&buffer, - SILC_STR_UI_XNSTRING(&id_data, idlen), + SILC_STR_DATA(&id_data, idlen), SILC_STR_END); if (ret == -1) goto err; @@ -167,7 +167,7 @@ SilcBuffer silc_id_payload_encode_data(const unsigned char *id, silc_buffer_format(buffer, SILC_STR_UI_SHORT(type), SILC_STR_UI_SHORT(id_len), - SILC_STR_UI_XNSTRING(id, id_len), + SILC_STR_DATA(id, id_len), SILC_STR_END); return buffer; } -- 2.24.0