- Write_message( cl, NULL, _( "\xff\xfc\x01\r\nWelcome, "
- "Master\r\n> " ), WRITE_MODE_CMD );
+ char *psz_tmp=strdup( _("Welcome, Master") );
+ realloc(psz_tmp, 5 + strlen(psz_tmp) + 4 + 1);
+ memmove( psz_tmp + 5, psz_tmp, strlen(psz_tmp) + 1 );
+ memcpy( psz_tmp, "\xff\xfc\x01\r\n",5);
+ strncat( psz_tmp, "\r\n> ", 4 );
+ Write_message( cl, NULL, psz_tmp, WRITE_MODE_CMD );
+ free( psz_tmp);