"%s (flags: %x)\n",
message_id, method_name, ntohl (meth->flags));
/* routing header is missing, so we just print double newline */
- printf(".\n\n");
+ printf("\n");
/* we output . instead of | to indicate that this is not proper PSYC syntax */
/* FIXME: use libpsyc here */
}
"Received modifier for message ID %" PRIu64 ":\n"
"%c%s: %.*s (size: %u)\n",
message_id, oper, name, value_size, (const char *) value, value_size);
-#endif
+#else
/* obviously not binary safe */
printf("%c%s\t%.*s\n",
oper, name, value_size, (const char *) value);
+#endif
}
"Received data for message ID %" PRIu64 ":\n"
"%.*s\n",
message_id, data_size, (const char *) data);
-#endif
+#else
/* obviously not binary safe */
printf("%s\n%.*s\n",
method_received, data_size, (const char *) data);
+#endif
}
guest_enter (&place_pub_key, &peer);
}
}
+ printf(".\n");
}
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
_("--place missing or invalid.\n"));
+ /* FIXME: why does it segfault here? */
exit_fail ();
return;
}
"gnunet-social --guest-leave --place <PUBKEY>\n"
"gnunet-social --guest-talk --place <PUBKEY> --method <METHOD_NAME> --data <MESSAGE_BODY>\n"
"\n"
- "gnunet-social --history-replay --place <PUBKEY> --start <MSGID> --until <MSGID> [--method <METHOD_PREFIX>]\n"
- "gnunet-social --history-replay-latest --place <PUBKEY> --limit <MSG_LIMIT> [--method <METHOD_PREFIX>]\n"
+ "gnunet-social --replay --place <PUBKEY> --start <MSGID> --until <MSGID> [--method <METHOD_PREFIX>]\n"
+ "gnunet-social --replay-latest --place <PUBKEY> --limit <MSG_LIMIT> [--method <METHOD_PREFIX>]\n"
"\n"
"gnunet-social --look-at --place <PUBKEY> --name <FULL_NAME>\n"
"gnunet-social --look-for --place <PUBKEY> --name <NAME_PREFIX>\n";