From fd98736f90ea657fa2d9ea3859d1e808c5895d78 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sun, 29 Feb 2004 13:16:28 +0000 Subject: [PATCH] Do not replace ATTR_TIMEZONE. --- lib/silcclient/client_attrs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/silcclient/client_attrs.c b/lib/silcclient/client_attrs.c index 7fee40ab..fc0821da 100644 --- 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, -- 2.24.0