Changeset 20965 for trunk/Nebulous/nebclient/src/nebclient.c
- Timestamp:
- Dec 12, 2008, 11:13:41 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/nebclient/src/nebclient.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/nebclient/src/nebclient.c
r20344 r20965 4 4 * Copyright (C) 2005 Joshua Hoblitt 5 5 * 6 * $Id: nebclient.c,v 1.5 4 2008-10-23 22:30:44 billsExp $6 * $Id: nebclient.c,v 1.55 2008-12-12 21:13:41 jhoblitt Exp $ 7 7 */ 8 8 … … 253 253 } 254 254 255 if (!nebDeleteInstance(server, locations->URI[0])) {255 if (!nebDeleteInstance(server, key, locations->URI[0])) { 256 256 nebObjectInstancesFree(locations); 257 257 … … 539 539 540 540 for (int i = 0; i < locations->n; i++) { 541 if (!nebDeleteInstance(server, locations->URI[i])) {541 if (!nebDeleteInstance(server, key, locations->URI[i])) { 542 542 nebSetErr(server, "can not delete instance"); 543 543 nebObjectInstancesFree(locations); … … 655 655 } 656 656 657 bool nebDeleteInstance(nebServer *server, const char * URI)657 bool nebDeleteInstance(nebServer *server, const char *key, const char *URI) 658 658 { 659 659 int response; … … 676 676 677 677 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) { 679 679 nebFree(filename); 680 680
Note:
See TracChangeset
for help on using the changeset viewer.
