IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 14, 2008, 12:19:16 PM (18 years ago)
Author:
eugene
Message:

revert to HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/neb_single_20081210/Nebulous/nebclient/src/nebclient.c

    r20344 r20987  
    44 * Copyright (C) 2005  Joshua Hoblitt
    55 *
    6  * $Id: nebclient.c,v 1.54 2008-10-23 22:30:44 bills Exp $
     6 * $Id: nebclient.c,v 1.54.8.1 2008-12-14 22:19:16 eugene Exp $
    77 */
    88
     
    253253    }
    254254
    255     if (!nebDeleteInstance(server, locations->URI[0])) {
     255    if (!nebDeleteInstance(server, key, locations->URI[0])) {
    256256        nebObjectInstancesFree(locations);
    257257
     
    539539
    540540    for (int i = 0; i < locations->n; i++) {
    541         if (!nebDeleteInstance(server, locations->URI[i])) {
     541        if (!nebDeleteInstance(server, key, locations->URI[i])) {
    542542            nebSetErr(server, "can not delete instance");
    543543            nebObjectInstancesFree(locations);
     
    655655}
    656656
    657 bool nebDeleteInstance(nebServer *server, const char *URI)
     657bool nebDeleteInstance(nebServer *server, const char *key, const char *URI)
    658658{
    659659    int             response;
     
    676676
    677677    if (soap_call_ns1__delete_USCOREinstance(server->soap, server->endpoint,
    678             NULL, (char *)URI, &response) != SOAP_OK) {
     678            NULL, (char *)key, (char *)URI, &response) != SOAP_OK) {
    679679        nebFree(filename);
    680680
Note: See TracChangeset for help on using the changeset viewer.