Changeset f25341f in git


Ignore:
Timestamp:
2013-11-08T15:57:19Z (6 years ago)
Author:
Xuefer <xuefer@…>
Branches:
master, trunk
Children:
9751704
Parents:
ec1d554
Message:

relocate: 0 is always null pointer

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1457 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • processor/main.m4

    rdae85e8 rf25341f  
    2626dnl }}}
    2727dnl {{{ SRCPTR_EX(1:type, 2:elm)
    28 define(`SRCPTR_EX', `IFRELOCATE(`ptradd($1 *, $2, ptrdiff)', `$2')')
     28define(`SRCPTR_EX', `IFRELOCATE(`($2 ? ptradd($1 *, $2, ptrdiff) : NULL)', `$2')')
    2929dnl }}}
    3030dnl {{{ ALLOC(1:dst, 2:type, 3:count=1, 4:clean=false, 5:realtype=$2)
Note: See TracChangeset for help on using the changeset viewer.