remove the g_return_if_fail()s from the last patch so I don't end up breaking
authorDan Winship <danw@src.gnome.org>
Sun, 28 Oct 2007 17:29:47 +0000 (17:29 +0000)
committerDan Winship <danw@src.gnome.org>
Sun, 28 Oct 2007 17:29:47 +0000 (17:29 +0000)
anything that worked before...

svn path=/trunk/; revision=948

libsoup/soup-message-io.c

index f009e33..e77d509 100644 (file)
@@ -851,7 +851,6 @@ soup_message_io_pause (SoupMessage *msg)
        SoupMessageIOData *io = priv->io_data;
 
        g_return_if_fail (io != NULL);
-       g_return_if_fail (io->mode == SOUP_MESSAGE_IO_SERVER);
 
        if (io->write_tag) {
                g_signal_handler_disconnect (io->sock, io->write_tag);
@@ -878,7 +877,6 @@ soup_message_io_unpause (SoupMessage *msg)
        SoupMessageIOData *io = priv->io_data;
 
        g_return_if_fail (io != NULL);
-       g_return_if_fail (io->mode == SOUP_MESSAGE_IO_SERVER);
 
        if (io->write_tag || io->read_tag)
                return;