* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 29afd40851ae28a332a59f39be40bec5bbd6010f
@ 2015-02-26 12:54 git
0 siblings, 0 replies; only message in thread
From: git @ 2015-02-26 12:54 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 1445 bytes --]
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(a)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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-02-26 12:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 12:54 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 29afd40851ae28a332a59f39be40bec5bbd6010f git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox