Date: Wed, 20 Apr 2016 01:38:54 +0000 (UTC) From: Marcelo Araujo <araujo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298327 - head/usr.bin/tftp Message-ID: <201604200138.u3K1csPm031215@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: araujo Date: Wed Apr 20 01:38:54 2016 New Revision: 298327 URL: https://svnweb.freebsd.org/changeset/base/298327 Log: Partially revert the change on r298325 where there is an (-1) casted to a pointer. Submitted by: pfg MFC after: 2 weeks. Modified: head/usr.bin/tftp/main.c Modified: head/usr.bin/tftp/main.c ============================================================================== --- head/usr.bin/tftp/main.c Wed Apr 20 01:35:09 2016 (r298326) +++ head/usr.bin/tftp/main.c Wed Apr 20 01:38:54 2016 (r298327) @@ -749,7 +749,7 @@ command(void) if (margc == 0) continue; c = getcmd(margv[0]); - if (c == (struct cmd *) - 1) { + if (c == (struct cmd *)-1) { printf("?Ambiguous command\n"); continue; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604200138.u3K1csPm031215>