Go to file
Marc-André Lureau 1b41d15a99 Fix harmless warnings in quic_encode()
The quic code has been changed recently this way:

-    ASSERT(encoder->usr, line);
+    if (line == NULL) {
+        spice_warn_if_reached();
+        return QUIC_ERROR;
+    }

It appears that the only caller of quic_encode() gives a NULL line and
rely on the more_lines() callback to return new lines instead.

Adjust the code accordingly, adding a few more checks to verify the
caller gives/returns correct values.
2012-03-28 13:30:18 +02:00
build-aux build-sys: make it a seperately buildable spice-common library 2012-03-22 20:21:05 +01:00
common Fix harmless warnings in quic_encode() 2012-03-28 13:30:18 +02:00
m4 build-sys: make it a seperately buildable spice-common library 2012-03-22 20:21:05 +01:00
python_modules build-sys: make it a seperately buildable spice-common library 2012-03-22 20:21:05 +01:00
spice-protocol@32da251a65 build-sys: make it a seperately buildable spice-common library 2012-03-22 20:21:05 +01:00
.gitmodules build-sys: make it a seperately buildable spice-common library 2012-03-22 20:21:05 +01:00
autogen.sh build-sys: make it a seperately buildable spice-common library 2012-03-22 20:21:05 +01:00
configure.ac build-sys: make it a seperately buildable spice-common library 2012-03-22 20:21:05 +01:00
git.mk build-sys: make it a seperately buildable spice-common library 2012-03-22 20:21:05 +01:00
Makefile.am build-sys: make it a seperately buildable spice-common library 2012-03-22 20:21:05 +01:00
spice1.proto spice-client migration: fix minor for old migration support. 2012-03-20 15:25:51 +01:00
spice_codegen.py codegen: include headers locally 2012-03-21 13:24:17 +01:00
spice.proto spice.proto: fix demarshaller crash with name message 2012-03-21 13:24:17 +01:00