diff libpurple/purple-send-async @ 17729:0a4238600947

Fixed recognition of the extension of certain JPG files. The 4th character may be anything between e0 and ef; the first 3 should be sufficient for a magic number, though a more 'complete' solution would verify that (e0 <= data[3] <= ef). Also, added recognition of TIF files (magic number: MM or II). Refs #725, which gave examples of several JPGs with (data[3] == e1).
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 05 Jun 2007 12:04:09 +0000
parents 598b1b15b199
children 942bf314fc8a
line wrap: on
line diff