summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-10-04 16:13:03 +0000
committerMike Buland <eichlan@xagasoft.com>2007-10-04 16:13:03 +0000
commitd8ba63fd2b512297b42b8b7db877205ab287e067 (patch)
treeff81b689e185355afb1aebd39f7985ffe416fbc9
parent86f9fbefa58d91e151190c969216c751573bc664 (diff)
downloadlibbu++-d8ba63fd2b512297b42b8b7db877205ab287e067.tar.gz
libbu++-d8ba63fd2b512297b42b8b7db877205ab287e067.tar.bz2
libbu++-d8ba63fd2b512297b42b8b7db877205ab287e067.tar.xz
libbu++-d8ba63fd2b512297b42b8b7db877205ab287e067.zip
Same as last time, just be sure to check that all your files have been written
before you commit :-P
-rw-r--r--src/protocolhttp.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/protocolhttp.cpp b/src/protocolhttp.cpp
index 6f2ae68..d18d73d 100644
--- a/src/protocolhttp.cpp
+++ b/src/protocolhttp.cpp
@@ -71,8 +71,15 @@ void Bu::ProtocolHttp::onNewData( Bu::Client *pClient )
71 71
72 case 3: 72 case 3:
73 SDB( 3 ); 73 SDB( 3 );
74 pClient->disconnect(); 74 if( iState != ttNewline )
75 return; 75 {
76 pClient->disconnect();
77 return;
78 }
79 iState = 4;
80 break;
81
82 case 4:
76 break; 83 break;
77 } 84 }
78 } 85 }