json: Avoid calling strlen(NULL)
authorDavid Edmondson <dme@dme.org>
Tue, 6 Apr 2010 07:24:00 +0000 (08:24 +0100)
committerCarl Worth <cworth@cworth.org>
Tue, 20 Apr 2010 15:54:51 +0000 (08:54 -0700)
commitcacefbf3d6dd5bce0b60b3cdfce29bfa371dfaea
treeecc3a9d0346b55071cfa414ad27e35ca1511c13d
parentcdd64727f197bf9e24b89da768d75bf268b8fb1c
json: Avoid calling strlen(NULL)

MIME parts may have no filename, which previously resulted in calling
strlen(NULL).
json.c