Changeset 24289 for trunk/Nebulous/nebclient/src/nebclient.c
- Timestamp:
- Jun 1, 2009, 2:29:20 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous/nebclient/src/nebclient.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/nebclient/src/nebclient.c
r23935 r24289 832 832 } 833 833 834 835 int nebChmod(nebServer *server, const char *key, mode_t mode) 836 { 837 int response; 838 839 REQUIRE_SERVER; 840 841 if (!key) { 842 nebSetErr(server, "parameter 'key' may not be NULL"); 843 844 return -1; 845 } 846 847 // FIXME is this leaking memory when response goes out of scope? the gsoap 848 // manual seems to 'suggest' that this is temporary data that gets cleaed 849 // up on the next soap function call 850 if (soap_call_ns1__chmod_USCOREobject(server->soap, server->endpoint, 851 NULL, (char *)key, mode, &response) != SOAP_OK) { 852 nebSetServerErr(server); 853 return -1; 854 } 855 856 return 0; 857 } 858 859 834 860 char *nebErr(nebServer *server) 835 861 {
Note:
See TracChangeset
for help on using the changeset viewer.
