mime decode: remove unused url counter

pull/1195/head
Victor Julien 11 years ago
parent d72f8c7de5
commit bffceb7115

@ -1081,8 +1081,6 @@ static int FindUrlStrings(const uint8_t *line, uint32_t len,
} else { } else {
SCFree(tempUrl); SCFree(tempUrl);
} }
/* Increment counter */
url->url_cnt++;
} else { } else {
SCFree(tempUrl); SCFree(tempUrl);
} }

@ -122,7 +122,6 @@ typedef struct MimeDecUrl {
uint8_t *url; /**< String representation of full or partial URL (lowercase) */ uint8_t *url; /**< String representation of full or partial URL (lowercase) */
uint32_t url_len; /**< Length of the URL string */ uint32_t url_len; /**< Length of the URL string */
uint32_t url_flags; /**< Flags indicating type of URL */ uint32_t url_flags; /**< Flags indicating type of URL */
uint32_t url_cnt; /**< Count of URLs with same value */
struct MimeDecUrl *next; /**< Pointer to next URL */ struct MimeDecUrl *next; /**< Pointer to next URL */
} MimeDecUrl; } MimeDecUrl;

Loading…
Cancel
Save