only add separator if there is more data

This commit is contained in:
nifi 2010-03-17 22:44:20 +00:00
parent 17a721a7e4
commit ef5a4a6ad7

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: RadioLogger.java,v 1.33 2010/03/17 14:16:13 nifi Exp $
* $Id: RadioLogger.java,v 1.34 2010/03/17 22:44:20 nifi Exp $
*/
package se.sics.cooja.plugins;
@ -456,8 +456,10 @@ public class RadioLogger extends VisPlugin {
}
/* continue another round if more bytes left */
analyze = packet.hasMoreData();
if (analyze) {
brief.append('|');
verbose.append("<p>");
}
break;
}
}