diff --git a/include/libtorrent/version.hpp b/include/libtorrent/version.hpp index 44eee45a7..2260f81dd 100644 --- a/include/libtorrent/version.hpp +++ b/include/libtorrent/version.hpp @@ -44,7 +44,8 @@ POSSIBILITY OF SUCH DAMAGE. #define LIBTORRENT_VERSION_NUM ((LIBTORRENT_VERSION_MAJOR * 10000) + (LIBTORRENT_VERSION_MINOR * 100) + LIBTORRENT_VERSION_TINY) #define LIBTORRENT_VERSION "1.1.0.0" -#define LIBTORRENT_REVISION "a10289a" +#define LIBTORRENT_REVISION "4c0b00c" + namespace libtorrent { // returns the libtorrent version as string form in this format: diff --git a/tools/set_version.py b/tools/set_version.py index 5bafbf1c8..fb85b5c1e 100755 --- a/tools/set_version.py +++ b/tools/set_version.py @@ -29,7 +29,7 @@ def substitute_file(name): elif '#define LIBTORRENT_VERSION ' in l and name.endswith('.hpp'): l = '#define LIBTORRENT_VERSION "%d.%d.%d.%d"\n' % (version[0], version[1], version[2], version[3]) elif '#define LIBTORRENT_REVISION ' in l and name.endswith('.hpp'): - l = '#define LIBTORRENT_REVISION "%s"' % revision + l = '#define LIBTORRENT_REVISION "%s"\n' % revision elif 'AC_INIT([libtorrent-rasterbar]' in l and name.endswith('.ac'): l = 'AC_INIT([libtorrent-rasterbar],[%d.%d.%d],[arvid@libtorrent.org],\n' % (version[0], version[1], version[2]) elif 'set (VERSION ' in l and name.endswith('.txt'):