summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b42974a)
raw | patch | inline | side by side (parent: b42974a)
author | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Wed, 11 Jun 2008 12:30:02 +0000 (14:30 +0200) | ||
committer | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Wed, 11 Jun 2008 12:30:02 +0000 (14:30 +0200) |
src/libvirt.c | patch | blob | history |
diff --git a/src/libvirt.c b/src/libvirt.c
index 327536a1fe15012b40dd55f765b3e321c550258a..81d7f1cd3012cdeb478961918ce9397db7a6cd58 100644 (file)
--- a/src/libvirt.c
+++ b/src/libvirt.c
n = DATA_MAX_NAME_LEN - strlen (vl->host) - 2;
if (i > 0 && n >= 1) {
- strcat (vl->host, ":");
+ strncat (vl->host, ":", 1);
n--;
}