Skip to content
Snippets Groups Projects
Commit e7c50062 authored by rswindell's avatar rswindell
Browse files

Don't retrieve last message number for every interation of loop.

parent 093b5fc2
Branches
Tags
No related merge requests found
......@@ -287,7 +287,8 @@ for(i in area) {
/*************************/
if(debug)
print("exporting local messages");
for(;socket.is_connected && ptr<=msgbase.last_msg;ptr++) {
last_msg=msgbase.last_msg;
for(;socket.is_connected && ptr<=last_msg;ptr++) {
console.line_counter = 0;
hdr = msgbase.get_msg_header(
/* retrieve by offset? */ false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment