X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-xstrtol.c;h=ed0ac22022f324da1aa291e1dc4b56c002932713;hb=6f730e7ae5225bf9eb36554d94805b97a72784bd;hp=6aa5e895ccd5fe1fffc3eb85562337162927df87;hpb=97c5de22902af85f150ed825b8ce5df94197e9bc;p=gnulib.git diff --git a/tests/test-xstrtol.c b/tests/test-xstrtol.c index 6aa5e895c..ed0ac2202 100644 --- a/tests/test-xstrtol.c +++ b/tests/test-xstrtol.c @@ -1,6 +1,6 @@ /* Test of xstrtol module. - Copyright (C) 1995, 1996, 1998, 1999, 2000, 2001, 2003, 2004, 2005, - 2006, 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, + 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -54,13 +54,13 @@ main (int argc, char **argv) s_err = __xstrtol (argv[i], &p, 0, &val, "bckMw0"); if (s_err == LONGINT_OK) - { - printf ("%s->%" __spec " (%s)\n", argv[i], val, p); - } + { + printf ("%s->%" __spec " (%s)\n", argv[i], val, p); + } else - { - xstrtol_fatal (s_err, -2, 'X', NULL, argv[i]); - } + { + xstrtol_fatal (s_err, -2, 'X', NULL, argv[i]); + } } exit (0); }