Jiang Xin <worldhello.net@xxxxxxxxx> writes: > + if (msg) > + hint->remote_status = xstrdup(msg); > + else if (extended_status) > + hint->remote_status = xstrdup(extended_status); contrib/coccinelle/xstrdup_or_null.cocci suggests to rewrite the above like so: if (msg) hint->remote_status = xstrdup(msg); else hint->remote_status = xstrdup_or_null(extended_status); I'll queue a fix-up patch to keep 'pu' passing the test suite for now.