[PATCH 1/2] wl_shell: check the parameter sent by the clients

Daniel Stone daniel at fooishbar.org
Mon Oct 31 04:14:15 PDT 2011


Hi,

On 31 October 2011 07:17,  <juan.j.zhao at intel.com> wrote:
> +        if((struct wl_interface *)
> +            (((struct wl_object *)surface_resource)->interface)->name
> +              !="wl_surface")

This is, er, not how you perform string comparison in C.

Cheers,
Daniel


More information about the wayland-devel mailing list