This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via 29afd40851ae28a332a59f39be40bec5bbd6010f (commit) from 8ae272aac36b13f91f68c3e8c26dc12e65565cbb (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 29afd40851ae28a332a59f39be40bec5bbd6010f Author: Michael Tremer michael.tremer@ipfire.org Date: Thu Feb 26 13:54:07 2015 +0100
installer: Cut off disk description if it gets too long
-----------------------------------------------------------------------
Summary of changes: src/installer/hw.c | 3 +++ 1 file changed, 3 insertions(+)
Difference in files: diff --git a/src/installer/hw.c b/src/installer/hw.c index ce97775..92d0ae5 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -322,6 +322,9 @@ struct hw_disk** hw_find_disks(struct hw* hw, const char* sourcedrive) { "%s - %s", size_str, p); }
+ // Cut off the description string after 40 characters + disk->description[41] = '\0'; + *disks++ = disk;
if (--i == 0)
hooks/post-receive -- IPFire 2.x development tree