Revision 4f2e57fe9e2b64084fd159b379afa56222dd423e

evands at pidgin.im evands at pidgin.im
Tue Jun 5 08:05:55 EDT 2007


-----------------------------------------------------------------
Revision: 4f2e57fe9e2b64084fd159b379afa56222dd423e
Ancestor: 36931658d931938ff03fe52b66e6707c76fae1f6
Author: evands at pidgin.im
Date: 2007-06-05T12:04:09
Branch: im.pidgin.pidgin

Modified files:
        libpurple/util.c

ChangeLog: 

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).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4f2e57fe9e2b64084fd159b379afa56222dd423e.diff
Type: text/x-diff
Size: 858 bytes
Desc: not available
Url : http://pidgin.im/pipermail/commits/attachments/20070605/1749a297/attachment.diff 


More information about the Commits mailing list