Revision: 69124
          http://sourceforge.net/p/brlcad/code/69124
Author:   starseeker
Date:     2016-10-18 22:14:28 +0000 (Tue, 18 Oct 2016)
Log Message:
-----------
Fix argc check.

Modified Paths:
--------------
    brlcad/trunk/src/libbn/tests/bn_list.c

Modified: brlcad/trunk/src/libbn/tests/bn_list.c
===================================================================
--- brlcad/trunk/src/libbn/tests/bn_list.c      2016-10-18 22:09:42 UTC (rev 
69123)
+++ brlcad/trunk/src/libbn/tests/bn_list.c      2016-10-18 22:14:28 UTC (rev 
69124)
@@ -379,7 +379,7 @@
     int i = 0;
     double x, y, z;
 
-    if (argc < 1) {
+    if (argc < 2) {
        printf("Must supply at least the dimension.\n");
        return -1;
     }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to