diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:06:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:06:35 -0600 |
commit | fd9fbe8ee6dd29663c3ff02c050610fc8f285208 (patch) | |
tree | 05bddc83b5291ec2b6b7647e991177915d1dd7ee /src/ciscopasswddecoder.cpp | |
parent | 1cc6550ea24abfd0acd8b2a5f627e4ff0b53dce7 (diff) | |
download | kvpnc-fd9fbe8ee6dd29663c3ff02c050610fc8f285208.tar.gz kvpnc-fd9fbe8ee6dd29663c3ff02c050610fc8f285208.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/ciscopasswddecoder.cpp')
-rw-r--r-- | src/ciscopasswddecoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ciscopasswddecoder.cpp b/src/ciscopasswddecoder.cpp index 3529373..1925bc3 100644 --- a/src/ciscopasswddecoder.cpp +++ b/src/ciscopasswddecoder.cpp @@ -78,7 +78,7 @@ TQString p; int i, l; for (i = 0; str[i] != '\0'; i++) - if (hex2bin_c(TQChar(str[i]).tqunicode()) == -1) + if (hex2bin_c(TQChar(str[i]).unicode()) == -1) return EINVAL; l = i; @@ -87,7 +87,7 @@ TQString p; l /= 2; for (i = 0; i < l; i++) - p+= hex2bin_c(TQChar(str[i*2]).tqunicode()) << 4 | hex2bin_c(TQChar(str[i*2+1]).tqunicode()); + p+= hex2bin_c(TQChar(str[i*2]).unicode()) << 4 | hex2bin_c(TQChar(str[i*2+1]).unicode()); bin = p; if (len) |