Commit f425c278724fc477735a0eecd2e2b03e53fd1a62
Committed by
Blue Swirl
1 parent
2313086a
Fix spelling in comment.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Showing
1 changed file
with
1 additions
and
1 deletions
vnc.c
| @@ -65,7 +65,7 @@ static char *addr_to_string(const char *format, | @@ -65,7 +65,7 @@ static char *addr_to_string(const char *format, | ||
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | /* Enough for the existing format + the 2 vars we're | 67 | /* Enough for the existing format + the 2 vars we're |
| 68 | - * subsituting in. */ | 68 | + * substituting in. */ |
| 69 | addrlen = strlen(format) + strlen(host) + strlen(serv); | 69 | addrlen = strlen(format) + strlen(host) + strlen(serv); |
| 70 | addr = qemu_malloc(addrlen + 1); | 70 | addr = qemu_malloc(addrlen + 1); |
| 71 | snprintf(addr, addrlen, format, host, serv); | 71 | snprintf(addr, addrlen, format, host, serv); |