Skip to content

Commit b8d0f22

Browse files
authored
Update license
1 parent f61016c commit b8d0f22

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

src/serstream

+33-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,37 @@
77
* Modfied: Mike Matera
88
*
99
* 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+
*
1041
*/
1142

1243
#ifndef __810370EC_AD69_4ef7_91F5_B1AA16F14712
@@ -120,7 +151,8 @@ namespace std
120151
if ( (char_type)c == '\n' )
121152
_serial.print('\r');
122153
_serial.print((char_type)c);
123-
}
154+
155+
}
124156
return traits::not_eof(c);
125157
}
126158

0 commit comments

Comments
 (0)