Changeset - r10861:933295e5181c
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-01-21 20:18:12
rubidium@openttd.org
(svn r15196) -Fix (r15195): != != == :(
1 file changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
src/network/network_content.cpp
Show inline comments
 
@@ -753,7 +753,7 @@ void ClientNetworkContentSocketHandler::
 
	for (ContentCallback **iter = this->callbacks.Begin(); iter != this->callbacks.End(); /* nothing */) {
 
		ContentCallback *cb = *iter;
 
		cb->OnConnect(success);
 
		if (*iter != cb) iter++;
 
		if (*iter == cb) iter++;
 
	}
 
}
 

	
 
@@ -762,7 +762,7 @@ void ClientNetworkContentSocketHandler::
 
	for (ContentCallback **iter = this->callbacks.Begin(); iter != this->callbacks.End(); /* nothing */) {
 
		ContentCallback *cb = *iter;
 
		cb->OnDisconnect();
 
		if (*iter != cb) iter++;
 
		if (*iter == cb) iter++;
 
	}
 
}
 

	
 
@@ -771,7 +771,7 @@ void ClientNetworkContentSocketHandler::
 
	for (ContentCallback **iter = this->callbacks.Begin(); iter != this->callbacks.End(); /* nothing */) {
 
		ContentCallback *cb = *iter;
 
		cb->OnReceiveContentInfo(ci);
 
		if (*iter != cb) iter++;
 
		if (*iter == cb) iter++;
 
	}
 
}
 

	
 
@@ -780,7 +780,7 @@ void ClientNetworkContentSocketHandler::
 
	for (ContentCallback **iter = this->callbacks.Begin(); iter != this->callbacks.End(); /* nothing */) {
 
		ContentCallback *cb = *iter;
 
		cb->OnDownloadProgress(ci, bytes);
 
		if (*iter != cb) iter++;
 
		if (*iter == cb) iter++;
 
	}
 
}
 

	
 
@@ -794,7 +794,7 @@ void ClientNetworkContentSocketHandler::
 
	for (ContentCallback **iter = this->callbacks.Begin(); iter != this->callbacks.End(); /* nothing */) {
 
		ContentCallback *cb = *iter;
 
		cb->OnDownloadComplete(cid);
 
		if (*iter != cb) iter++;
 
		if (*iter == cb) iter++;
 
	}
 
}
 

	
0 comments (0 inline, 0 general)