Commit 73de093c authored by sletz's avatar sletz
Browse files

Correct error code.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4500 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 0b4e9a2a
......@@ -459,7 +459,7 @@ namespace Jack
if (sub_cycle != fLastSubCycle + 1) {
jack_error("Packet(s) missing from... %d %d", fLastSubCycle, sub_cycle);
res = 1;
res = NET_PACKET_ERROR;
}
fLastSubCycle = sub_cycle;
......@@ -594,7 +594,7 @@ namespace Jack
if (sub_cycle != fLastSubCycle + 1) {
jack_error("Packet(s) missing from... %d %d", fLastSubCycle, sub_cycle);
res = -1;
res = NET_PACKET_ERROR;
}
fLastSubCycle = sub_cycle;
......
......@@ -439,7 +439,7 @@ namespace Jack
}
if (sub_cycle != fLastSubCycle + 1) {
jack_error("Packet(s) missing from... %d %d", fLastSubCycle, sub_cycle);
res = -1;
res = NET_PACKET_ERROR;
}
fLastSubCycle = sub_cycle;
......@@ -481,7 +481,7 @@ namespace Jack
}
if (sub_cycle != fLastSubCycle + 1) {
jack_error("Packet(s) missing from... %d %d", fLastSubCycle, sub_cycle);
res = -1;
res = NET_PACKET_ERROR;
}
fLastSubCycle = sub_cycle;
......@@ -581,7 +581,7 @@ namespace Jack
if (sub_cycle != fLastSubCycle + 1) {
jack_error("Packet(s) missing from... %d %d", fLastSubCycle, sub_cycle);
res = -1;
res = NET_PACKET_ERROR;
}
fLastSubCycle = sub_cycle;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment