IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 8, 2005, 2:05:40 PM (21 years ago)
Author:
jhoblitt
Message:

remove debugging statements from nebFindInstances()
change nebFindInstances() to use nebSetErr()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/nebclient/src/nebclient.c

    r4523 r4524  
    44 * Copyright (C) 2005  Joshua Hoblitt
    55 *
    6  * $Id: nebclient.c,v 1.22 2005-07-09 00:02:20 jhoblitt Exp $
     6 * $Id: nebclient.c,v 1.23 2005-07-09 00:05:40 jhoblitt Exp $
    77 */
    88
     
    295295
    296296    if (n < 0) {
    297         fprintf(stderr, "no instances found\n");
     297        nebSetErr(server, "no instances found");
    298298
    299299        return false;
     
    301301
    302302    for (i = 0; i < n; i++) {
    303         printf("nebDelete location is: %s\n", locations[i]);
    304 
    305303        if (!nebDeleteInstance(server, locations[i])) {
     304            nebSetErr(server, "can not delete instance");
    306305            nebFree(locations);
    307306
     
    371370
    372371    if (!nebParseURI(server, URI, &filename)) {
    373         fprintf(stderr, "can not parse URI\n");
     372        nebSetErr(server, "can not parse URI");
    374373
    375374        return false;
Note: See TracChangeset for help on using the changeset viewer.