Diffstat (limited to 'noncore/apps/opie-console/dialer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/dialer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/dialer.cpp b/noncore/apps/opie-console/dialer.cpp index d37e406..5056040 100644 --- a/noncore/apps/opie-console/dialer.cpp +++ b/noncore/apps/opie-console/dialer.cpp | |||
@@ -191,9 +191,9 @@ void Dialer::trydial(const QString& number) | |||
191 | slotCancel(); | 191 | slotCancel(); |
192 | } | 192 | } |
193 | } | 193 | } |
194 | } | 194 | } |
195 | 195 | ||
196 | if(state != state_cancel) | 196 | if(state != state_cancel) |
197 | { | 197 | { |
198 | switchState(state_online); | 198 | switchState(state_online); |
199 | } | 199 | } |
@@ -224,9 +224,9 @@ QString Dialer::receive() | |||
224 | { | 224 | { |
225 | QString buf; | 225 | QString buf; |
226 | char buffer[1024]; | 226 | char buffer[1024]; |
227 | int ret; | 227 | int ret; |
228 | int counter; | 228 | int counter = 0; |
229 | 229 | ||
230 | while(1) | 230 | while(1) |
231 | { | 231 | { |
232 | ret = ::read(m_fd, buffer, sizeof(buffer)); | 232 | ret = ::read(m_fd, buffer, sizeof(buffer)); |