projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dff80c
)
Do not replace ATTR_TIMEZONE.
author
Pekka Riikonen
<priikone@silcnet.org>
Sun, 29 Feb 2004 13:16:28 +0000
(13:16 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sun, 29 Feb 2004 13:16:28 +0000
(13:16 +0000)
lib/silcclient/client_attrs.c
patch
|
blob
|
history
diff --git
a/lib/silcclient/client_attrs.c
b/lib/silcclient/client_attrs.c
index 7fee40ab5df36624f36458efb0f3a17f1c38c302..fc0821da6ee1268690ec88e29f023ca95909f932 100644
(file)
--- a/
lib/silcclient/client_attrs.c
+++ b/
lib/silcclient/client_attrs.c
@@
-54,6
+54,7
@@
static void silc_client_attributes_process_foreach(void *key, void *context,
SILC_LOG_DEBUG(("Attribute %d found", attribute));
data = silc_attribute_get_data(attr, &data_len);
+#if 0
/* We replace the TIMEZONE with valid value here */
if (attribute == SILC_ATTRIBUTE_TIMEZONE) {
data = (const unsigned char *)silc_get_time(0);
@@
-63,6
+64,7
@@
static void silc_client_attributes_process_foreach(void *key, void *context,
(void *)data, data_len);
return;
}
+#endif
f->buffer = silc_attribute_payload_encode_data(f->buffer, attribute,
SILC_ATTRIBUTE_FLAG_VALID,