summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-28 21:29:50 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-23 12:15:05 -0800
commit780133f9ae7fada462714b47e79d26075bbd9abe (patch)
treef07f870d9f30cdedb5e5cdd375efa14565a1b566 /Makefile.am
parent03ddca6f71339fad089c56484bf35c63642ae1be (diff)
Convert DetermineClientCmd to use strdup instead of malloc+strncpy
*cmdname is initialized to NULL earlier in the function, so it's okay to overwrite it with NULL if strdup fails, don't need that extra check. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions