IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 19, 2006, 6:36:27 PM (20 years ago)
Author:
jhoblitt
Message:

whitespace reform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pxadminConfig.c

    r6066 r6070  
    1919    config->mode = P2_MODE_NONE;
    2020    if ((N = psArgumentGet (argc, argv, "-create"))) {
    21         psArgumentRemove (N, &argc, argv);
    22         if (config->mode) psAbort ("p2search", "only one mode selection is allowed");
    23         config->mode = P2_MODE_CREATE;
     21        psArgumentRemove (N, &argc, argv);
     22        if (config->mode) {
     23            psAbort ("p2search", "only one mode selection is allowed");
     24        }
     25        config->mode = P2_MODE_CREATE;
    2426    }
    2527    if ((N = psArgumentGet (argc, argv, "-delete"))) {
    26         psArgumentRemove (N, &argc, argv);
    27         if (config->mode) psAbort ("p2search", "only one mode selection is allowed");
    28         config->mode = P2_MODE_DELETE;
     28        psArgumentRemove (N, &argc, argv);
     29        if (config->mode) {
     30            psAbort ("p2search", "only one mode selection is allowed");
     31        }
     32        config->mode = P2_MODE_DELETE;
    2933    }
    3034
     
    3438
    3539    if (config->mode == P2_MODE_NONE) {
    36         fprintf (stderr, "admin mode not specified\n");
     40        fprintf (stderr, "admin mode not specified\n");
    3741        psArgumentHelp(config->arguments);
    3842        psFree(config->arguments);
Note: See TracChangeset for help on using the changeset viewer.