{
if (sleepy->built_to_fail)
{
- g_set_error (error, 0, 0, "fail");
+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED, "fail");
return -1;
}
else
GError **error)
{
gsize length;
- int eol_len;
char *str;
- eol_len = 1 + (eol[1] != '\0');
-
str = g_data_input_stream_read_line (stream, &length, NULL, error);
if (str == NULL)
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
- g_type_init ();
g_test_add_func ("/filter-stream/input", test);
g_test_add_func ("/filter-stream/async", asynch);