case PEER1_WRITE:
GNUNET_assert (0);
case PEER1_WRITE_SHUTDOWN:
+ GNUNET_assert (cls == &peer1);
+ GNUNET_assert (SHUT_WR == operation);
peer1.test_ok = GNUNET_YES;
/* Peer2 should read with error */
peer2.bytes_read = 0;
&d2->id, /* Null for local peer? */
10, /* App port */
&stream_open_cb,
- &peer1);
+ &peer1,
+ GNUNET_STREAM_OPTION_END);
GNUNET_assert (NULL != peer1.socket);
}