Hi Mariano,

On Wed, Jun 15, 2011 at 12:14:56AM +0200, Mariano Grau Calín wrote:
> int main(int argc, char *argv[])
> {
>  char *params[4];
>  params[0] = "spicec";
>  params[1] = "-h cadi17";
>  params[2] = "-p 5900";
>  params[3] = NULL;

Shouldn't it be:
    char *params[6];
    params[0] = "spicec";
    params[1] = "-h";
    params[2] = "cadi17";
    params[3] = "-p";
    params[4] = "5900";
    params[5] = NULL;
?

Also, in the error message you mentionned, it seems there's an extra space
in front of the hostname?

These are just guesses for now, trying to help :)

Christophe

Attachment: pgpDdIA1F8iWk.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to