[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] libcacard: Fix compilation for older versions o
From: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] [PATCH] libcacard: Fix compilation for older versions of glib (bug #1258168) |
Date: |
Thu, 05 Dec 2013 19:45:05 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 |
Am 05.12.2013 19:03, schrieb Don Slutz:
> On 12/05/13 12:24, Stefan Weil wrote:
[...]
>> @@ -760,7 +760,7 @@ main(
>> g_io_channel_unref(channel_stdin);
>> g_io_channel_unref(channel_socket);
>> - g_byte_array_unref(socket_to_send);
>> + g_byte_array_free(socket_to_send);
>>
> This fails with:
>
> /home/don/qemu/libcacard/vscclient.c: In function 'main':
> /home/don/qemu/libcacard/vscclient.c:763: error: too few arguments to
> function 'g_byte_array_free'
> make: *** [libcacard/vscclient.o] Error 1
>
> The bug included ", TRUE"...
> -Don Slutz
>> closesocket(sock);
>> return 0;
>
Sorry, I should have waited until the compile test was finished before
sending this patch.
v2 with fixed commit message and fixed call of g_byte_array was sent a
minute ago.
Stefan Weil