IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18018


Ignore:
Timestamp:
Jun 9, 2008, 10:51:47 AM (18 years ago)
Author:
jhoblitt
Message:

sync up nebFind() and Nebulous:Client->find()

File:
1 edited

Legend:

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

    r13254 r18018  
    44 * Copyright (C) 2005  Joshua Hoblitt
    55 *
    6  * $Id: nebclient.c,v 1.47 2007-05-04 23:42:08 jhoblitt Exp $
     6 * $Id: nebclient.c,v 1.48 2008-06-09 20:51:47 jhoblitt Exp $
    77 */
    88
     
    401401    locations = nebFindInstances(server, key, NULL);
    402402    if (!locations) {
    403         nebSetErr(server, "no instances found");
    404 
    405         return NULL;
     403        if (!strstr(nebErr(server), "no instances on storage volume")) {
     404            nebSetErr(server, "no instances found");
     405            return NULL;
     406        }
     407
     408        locations = nebFindInstances(server, key, ":any");
     409        if (!locations) {
     410            nebSetErr(server, "no instances found");
     411            return NULL;
     412        }
    406413    }
    407414
Note: See TracChangeset for help on using the changeset viewer.