Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87127
b: refs/heads/master
c: 1ef36fa
h: refs/heads/master
i:
  87125: 2734f06
  87123: 5d11d66
  87119: 06338ca
v: v3
  • Loading branch information
Paul Bolle authored and Rusty Russell committed Mar 10, 2008
1 parent 784eac0 commit 3e3af08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4357bd9453b81e0a41db1dec16e06d74256b7560
refs/heads/master: 1ef36fa64e65079de18ff5179a51af58e44d49a6
7 changes: 5 additions & 2 deletions trunk/Documentation/lguest/lguest.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,9 +486,12 @@ static void concat(char *dst, char *args[])
unsigned int i, len = 0;

for (i = 0; args[i]; i++) {
if (i) {
strcat(dst+len, " ");
len++;
}
strcpy(dst+len, args[i]);
strcat(dst+len, " ");
len += strlen(args[i]) + 1;
len += strlen(args[i]);
}
/* In case it's empty. */
dst[len] = '\0';
Expand Down

0 comments on commit 3e3af08

Please sign in to comment.