summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-01 00:49:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-01 00:49:39 -0600
commite0f5e6ac4e90ddd00a941914f1aca4494c9a0e31 (patch)
tree314cdb3492f94c5d2eeb0d7a2227cd2966b846a7
parentc2654f54080667d980d0d055ddaaa11e438eaec8 (diff)
downloadlibtdeldap-e0f5e6ac4e90ddd00a941914f1aca4494c9a0e31.tar.gz
libtdeldap-e0f5e6ac4e90ddd00a941914f1aca4494c9a0e31.zip
Fix FBTFS
-rw-r--r--src/libtdeldap.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp
index 83574fc..eef035a 100644
--- a/src/libtdeldap.cpp
+++ b/src/libtdeldap.cpp
@@ -2835,7 +2835,6 @@ int LDAPManager::bondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, con
kadminProc.writeLine("quit", true);
realmcfg.bonded = true;
- save();
return 0;
}
else if (prompt == "kadmin>") {
@@ -2843,7 +2842,6 @@ int LDAPManager::bondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, con
kadminProc.writeLine("quit", true);
realmcfg.bonded = true;
- save();
return 0;
}
@@ -2900,9 +2898,9 @@ int LDAPManager::unbondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, c
kadminProc.writeLine("quit", true);
// Delete keys from keytab
- TQString commmand = TQString("ktutil remove -p %1").arg(hostprinc);
+ command = TQString("ktutil remove -p %1").arg(hostprinc);
if (system(command) < 0) {
- printf("ERROR: Execution of \"%s\" failed!\n\r", command.ascii());
+ printf("ERROR: Execution of \"%s\" failed!\n\r", command.data());
return 1; // Failure
}