summaryrefslogtreecommitdiff
path: root/pr/tests/i2l.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/tests/i2l.c')
-rw-r--r--pr/tests/i2l.c28
1 files changed, 15 insertions, 13 deletions
diff --git a/pr/tests/i2l.c b/pr/tests/i2l.c
index 8f41fa34..a28cd16a 100644
--- a/pr/tests/i2l.c
+++ b/pr/tests/i2l.c
@@ -46,21 +46,23 @@ static PRIntn PR_CALLBACK RealMain(PRIntn argc, char **argv)
while (PL_OPT_EOL != (os = PL_GetNextOpt(opt)))
{
- if (PL_OPT_BAD == os) continue;
+ if (PL_OPT_BAD == os) {
+ continue;
+ }
switch (opt->option)
{
- case 'i': /* signed integer */
- si.i = (PRInt32)atoi(opt->value);
- bsi = PR_TRUE;
- break;
- case 'u': /* unsigned */
- ui.i = (PRUint32)atoi(opt->value);
- bui = PR_TRUE;
- break;
- case 'h': /* user wants some guidance */
- default:
- Help(); /* so give him an earful */
- return 2; /* but not a lot else */
+ case 'i': /* signed integer */
+ si.i = (PRInt32)atoi(opt->value);
+ bsi = PR_TRUE;
+ break;
+ case 'u': /* unsigned */
+ ui.i = (PRUint32)atoi(opt->value);
+ bui = PR_TRUE;
+ break;
+ case 'h': /* user wants some guidance */
+ default:
+ Help(); /* so give him an earful */
+ return 2; /* but not a lot else */
}
}
PL_DestroyOptState(opt);