fix missing end of line at end of file and add this to codeclean
This commit is contained in:
parent
f01f083619
commit
60eba111d9
3 changed files with 4 additions and 4 deletions
|
@ -71,4 +71,4 @@ void received_data(network::connection sock, const config& data)
|
|||
network::send_data(data,peer);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,4 +17,4 @@ void received_data(network::connection sock, const config& data);
|
|||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -18,7 +18,7 @@ $changes += s/\r$// # de-DOS-ify
|
|||
+ s/ +\t/\t/g # remove spaces hidden by tabs
|
||||
+ s/[\t ]+$// # remove trailing whitespace
|
||||
+ s#wesnoth\.whitevine\.net/?#www.wesnoth.org/#g
|
||||
+ s#davidnwhite\@optusnet\.com\.au#davidnwhite\@verizon.net#g;
|
||||
+ s#davidnwhite\@comcast\.net#davidnwhite\@verizon.net#g;
|
||||
+ s#davidnwhite\@optusnet\.com\.au#davidnwhite\@comcast.net#g;
|
||||
if (eof and index($_, "\n") < 0) { s/$/\n/; ++$changes } # ensure EOL at EOF
|
||||
|
||||
END { print "$changes made\n"; }
|
||||
|
|
Loading…
Add table
Reference in a new issue