[Spice-devel] [PATCH spice-gtk 04/14] channel: add SPICE_DISABLE_CHANNELS

Christophe Fergeau cfergeau at redhat.com
Thu Sep 12 09:16:45 PDT 2013


On Thu, Sep 12, 2013 at 06:11:53PM +0200, Marc-André Lureau wrote:
> On Thu, Sep 12, 2013 at 6:01 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> > Is there a reason for doing a strstr rather than iterating over the string
> > split on ':' ?
> 
> simplicity, iirc, even glib does that.

I would use different words than 'simplicity' to describe this use of
strstr, but ACK (and glib does use that for at least G_MESSAGES_DEBUG)

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130912/6e7f7a31/attachment.pgp>


More information about the Spice-devel mailing list