Patchwork D1027: mpatch: re-wrap wide line with clang-format

login
register
mail settings
Submitter phabricator
Date Oct. 12, 2017, 3:09 p.m.
Message ID <differential-rev-PHID-DREV-inai7whpwj7cqb4fnkpe-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/24783/
State Superseded
Headers show

Comments

phabricator - Oct. 12, 2017, 3:09 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1027

AFFECTED FILES
  mercurial/mpatch.c

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/mpatch.c b/mercurial/mpatch.c
--- a/mercurial/mpatch.c
+++ b/mercurial/mpatch.c
@@ -36,7 +36,8 @@ 
 
 	a = (struct mpatch_flist *)malloc(sizeof(struct mpatch_flist));
 	if (a) {
-		a->base = (struct mpatch_frag *)malloc(sizeof(struct mpatch_frag) * size);
+		a->base = (struct mpatch_frag *)malloc(
+		    sizeof(struct mpatch_frag) * size);
 		if (a->base) {
 			a->head = a->tail = a->base;
 			return a;