projects
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8e0bc5e
)
STR_UI_XNSTRING -> STR_DATA.
author
Pekka Riikonen
<priikone@silcnet.org>
Thu, 9 Nov 2006 17:47:23 +0000
(17:47 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Thu, 9 Nov 2006 17:47:23 +0000
(17:47 +0000)
lib/silccore/silcid.c
patch
|
blob
|
history
diff --git
a/lib/silccore/silcid.c
b/lib/silccore/silcid.c
index 027cf6eadd676915845e6de6784b6661a9c92b5a..3f7e8b1f775581fadb0c7a85207c919354077092 100644
(file)
--- 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,
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;
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,
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;
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_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;
}
SILC_STR_END);
return buffer;
}