ifolder/www-apps/ifolder-server/files/gsoap-2.7.12.patch

39 lines
1.2 KiB
Diff
Raw Normal View History

diff -uNr simias.orig/src/core/libsimias/simiasweb.c simias/src/core/libsimias/simiasweb.c
--- simias.orig/src/core/libsimias/simiasweb.c 2009-02-21 21:58:11.207370228 +0100
+++ simias/src/core/libsimias/simiasweb.c 2009-02-21 21:58:53.910484314 +0100
@@ -241,7 +241,7 @@
}
/* Setup the Request */
- req.onlySlaves = only_slaves ? true_ : false_;
+ req.onlySlaves = only_slaves ? xsd__boolean__true_ : xsd__boolean__false_;
init_gsoap(&soap);
if (simias_get_web_service_credential(username, password) == SIMIAS_SUCCESS) {
@@ -294,7 +294,7 @@
}
/* Active */
- if (domainsA[i]->Active == true_) {
+ if (domainsA[i]->Active == xsd__boolean__true_) {
domain->active = true;
} else {
domain->active = false;
@@ -349,14 +349,14 @@
domain->host = strdup("");
/* IsSlave */
- if (domainsA[i]->IsSlave == true_) {
+ if (domainsA[i]->IsSlave == xsd__boolean__true_) {
domain->is_slave = true;
} else {
domain->is_slave = false;
}
/* IsDefault */
- if (domainsA[i]->IsDefault == true_) {
+ if (domainsA[i]->IsDefault == xsd__boolean__true_) {
domain->is_default = true;
} else {
domain->is_default = false;