|
7 | 7 | * Modfied: Mike Matera
|
8 | 8 | *
|
9 | 9 | * http://andybrown.me.uk/ws/terms-and-conditions
|
| 10 | + * |
| 11 | + * Captured from the URL above on June 30th, 2018 |
| 12 | + * |
| 13 | + * License |
| 14 | + * |
| 15 | + * Copyright (c) 2011-2016 Andrew Brown. All rights reserved. |
| 16 | + * |
| 17 | + * Redistribution and use in source and binary forms, with or without |
| 18 | + * modification, are permitted provided that the following conditions are met: |
| 19 | + * |
| 20 | + * Redistributions of source code must retain the above copyright notice, |
| 21 | + * this list of conditions and the following disclaimer. |
| 22 | + * |
| 23 | + * Redistributions in binary form must reproduce the above copyright notice, |
| 24 | + * this list of conditions and the following disclaimer in the documentation |
| 25 | + * and/or other materials provided with the distribution. |
| 26 | + * |
| 27 | + * The name of Andrew Brown may not be used to endorse or promote products |
| 28 | + * derived from this software without specific prior written permission. |
| 29 | + * |
| 30 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” |
| 31 | + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 32 | + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 33 | + * ARE DISCLAIMED. IN NO EVENT SHALL ANDREW BROWN BE LIABLE FOR ANY DIRECT, |
| 34 | + * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 35 | + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 36 | + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 37 | + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 38 | + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 39 | + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 40 | + * |
10 | 41 | */
|
11 | 42 |
|
12 | 43 | #ifndef __810370EC_AD69_4ef7_91F5_B1AA16F14712
|
@@ -120,7 +151,8 @@ namespace std
|
120 | 151 | if ( (char_type)c == '\n' )
|
121 | 152 | _serial.print('\r');
|
122 | 153 | _serial.print((char_type)c);
|
123 |
| - } |
| 154 | + |
| 155 | + } |
124 | 156 | return traits::not_eof(c);
|
125 | 157 | }
|
126 | 158 |
|
|
0 commit comments