summaryrefslogtreecommitdiff
path: root/vchat-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'vchat-client.c')
-rwxr-xr-xvchat-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vchat-client.c b/vchat-client.c
index 579326a..11c39d3 100755
--- a/vchat-client.c
+++ b/vchat-client.c
@@ -530,7 +530,7 @@ main (int argc, char **argv)
530 /* attempt connection */ 530 /* attempt connection */
531 if (!vcconnect (getstroption(CF_SERVERHOST), getstroption(CF_SERVERPORT))) { 531 if (!vcconnect (getstroption(CF_SERVERHOST), getstroption(CF_SERVERPORT))) {
532 snprintf (tmpstr, TMPSTRSIZE, "Could not connect to server, %s.", 532 snprintf (tmpstr, TMPSTRSIZE, "Could not connect to server, %s.",
533 sys_errlist[errno]); 533 strerror(errno));
534 strncpy(errstr,tmpstr,TMPSTRSIZE-2); 534 strncpy(errstr,tmpstr,TMPSTRSIZE-2);
535 errstr[TMPSTRSIZE-2] = '\0'; 535 errstr[TMPSTRSIZE-2] = '\0';
536 strcat(errstr,"\n"); 536 strcat(errstr,"\n");