tabs to spaces + pretty
This commit is contained in:
parent
8975a6e1bc
commit
701908d016
|
|
@ -36,8 +36,9 @@ static void print_path(PPATH *pp)
|
|||
if(strcmp(pp->fullp,pp->d_ptr))
|
||||
{
|
||||
printf("d_ptr: %s (%d) ", pp->d_ptr, pp->d_len);
|
||||
} else
|
||||
} else {
|
||||
printf("(%d) ", pp->d_len);
|
||||
}
|
||||
|
||||
printf("f_ptr: %s (%d) ", pp->f_ptr, pp->f_len);
|
||||
if(pp->passwd)
|
||||
|
|
@ -80,14 +81,16 @@ static int runtestcase(void)
|
|||
{
|
||||
printf(" parse err: '%s'. ", err);
|
||||
pp.fullp=NULL;
|
||||
} else
|
||||
} else {
|
||||
printf(" parsed okay. ");
|
||||
}
|
||||
if(compareresults(&pp,&testresults[i]))
|
||||
{
|
||||
printf("!!!TEST FAILED!!!\a\n");
|
||||
rc=1;
|
||||
} else
|
||||
} else {
|
||||
printf(" Test passed.\n");
|
||||
}
|
||||
if(!err)
|
||||
{
|
||||
printf(" ");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user