Re: [Spice-devel] [spice-xpi PATCHv2 02/12] Use gio to write trust store

2013-03-13 Thread Marc-André Lureau
On Wed, Mar 13, 2013 at 11:15 AM, Christophe Fergeau wrote: > +tmp_file = g_file_new_tmp("trustore.pem-XX", &iostream, NULL); > +if (tmp_file == NULL) { > +g_message("Couldn't create truststore"); > +return false; > } > -else > -{ > -g_critical("cou

[Spice-devel] [spice-xpi PATCHv2 02/12] Use gio to write trust store

2013-03-13 Thread Christophe Fergeau
This has the big advantage of being portable, in addition to removing some code. Big disadvantage is that this adds a dependency on gio. --- SpiceXPI/src/plugin/plugin.cpp | 69 ++ SpiceXPI/src/plugin/plugin.h | 2 ++ configure.ac | 2 +