fix missing end of line at end of file and add this to codeclean

This commit is contained in:
András Salamon 2005-07-22 10:29:00 +00:00
parent f01f083619
commit 60eba111d9
3 changed files with 4 additions and 4 deletions

View file

@ -71,4 +71,4 @@ void received_data(network::connection sock, const config& data)
network::send_data(data,peer);
}
}
}

View file

@ -17,4 +17,4 @@ void received_data(network::connection sock, const config& data);
}
#endif
#endif

View file

@ -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"; }