]> andersk Git - libfaim.git/blobdiff - src/tlv.c
- Mon Mar 5 01:19:48 UTC 2001
[libfaim.git] / src / tlv.c
index 99f2ba5b9df1bcbd6208674d6f1ca1a8b0386973..3119a2df0c65eaad60cafe4d42fea0eb8ae5e21f 100644 (file)
--- a/src/tlv.c
+++ b/src/tlv.c
@@ -49,10 +49,9 @@ faim_export struct aim_tlvlist_t *aim_readtlvchain(u_char *buf, int maxlen)
               * theres no special cases to this special case.
               *   - mid (30jun2000)
               */
-             if ((type == 0x0013) && (length != 0x0002)) {
-               printf("faim: skipping TLV t(0013) with invalid length (0x%04x)\n", length);
+             if ((type == 0x0013) && (length != 0x0002))
                length = 0x0002;
-             else {
+             else {
                cur = (struct aim_tlvlist_t *)malloc(sizeof(struct aim_tlvlist_t));
                memset(cur, 0x00, sizeof(struct aim_tlvlist_t));
 
This page took 0.698979 seconds and 4 git commands to generate.