summaryrefslogtreecommitdiffstats
path: root/kppp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-02-17 12:01:49 +0100
committerSlávek Banko <slavek.banko@axis.cz>2013-02-17 12:01:49 +0100
commit4caa5c7f128c8fa187fff7768d9ba0778c41ac44 (patch)
tree40d5c0003eb8ad8fe4af98796d1765975c911cc5 /kppp
parent66bf4ed69664799b7cfa37463841b2f94d8c1aa0 (diff)
downloadtdenetwork-4caa5c7f128c8fa187fff7768d9ba0778c41ac44.tar.gz
tdenetwork-4caa5c7f128c8fa187fff7768d9ba0778c41ac44.zip
Fix unintended rename of LOCKFILE
Diffstat (limited to 'kppp')
-rw-r--r--kppp/pppdata.cpp4
-rw-r--r--kppp/pppdata.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/kppp/pppdata.cpp b/kppp/pppdata.cpp
index 8702d403..5c9bc521 100644
--- a/kppp/pppdata.cpp
+++ b/kppp/pppdata.cpp
@@ -610,12 +610,12 @@ void PPPData::setModemEscapeGuardTime(int n) {
bool PPPData::modemLockFile() {
- return readNumConfig(cmodemgroup, LOCTDEFILE_KEY, 1);
+ return readNumConfig(cmodemgroup, LOCKFILE_KEY, 1);
}
void PPPData::setModemLockFile(bool set) {
- writeConfig(cmodemgroup, LOCTDEFILE_KEY, set);
+ writeConfig(cmodemgroup, LOCKFILE_KEY, set);
}
diff --git a/kppp/pppdata.h b/kppp/pppdata.h
index fb72bf0f..824665a6 100644
--- a/kppp/pppdata.h
+++ b/kppp/pppdata.h
@@ -79,7 +79,7 @@ class TDEConfig;
// modem
#define MOD_NAME_KEY "Name"
#define MODEMDEV_KEY "Device"
-#define LOCTDEFILE_KEY "UseLockFile"
+#define LOCKFILE_KEY "UseLockFile"
#define FLOWCONTROL_KEY "FlowControl"
#define SPEED_KEY "Speed"
#define TIMEOUT_KEY "Timeout"