summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-21 00:42:36 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-21 00:42:36 -0500
commitfdef66d8f2e814f7dcd49cdf1e8199c61f3c6cb0 (patch)
tree2301665949c537eddba47185085783ffccd9f6d7
parentfae0948a282c3cb72299692c9cb0af261ea5d80a (diff)
downloadlibtdeldap-fdef66d8.tar.gz
libtdeldap-fdef66d8.zip
Fix kinit and ktutil log output
-rw-r--r--src/libtdeldap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp
index c065eeb..0176bbe 100644
--- a/src/libtdeldap.cpp
+++ b/src/libtdeldap.cpp
@@ -909,8 +909,8 @@ TQString LDAPManager::readFullLineFromPtyProcess(PtyProcess* proc) {
TQString result = "";
while ((!result.contains("\r")) &&
(!result.contains(">")) &&
- (!((!result.contains("kadmin:")) && result.contains(":"))) &&
- (!((result.contains("kadmin:")) && result.contains("\r")))
+ (!((!result.contains("kadmin:")) && (!result.contains("kinit:")) && (!result.contains("ktutil:")) && result.contains(":"))) &&
+ (!((result.contains("kadmin:")) && (!result.contains("kinit:")) && (!result.contains("ktutil:")) && result.contains("\r")))
) {
result = result + TQString(proc->readLine(false));
tqApp->processEvents();