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;
                }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to