aboutsummaryrefslogtreecommitdiff
path: root/src/social/test_social.c
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2016-01-27 20:45:36 +0000
committerGabor X Toth <*@tg-x.net>2016-01-27 20:45:36 +0000
commitd4ffe9082fa632d5696611dc5977852cc6397bce (patch)
tree7148511969accd3d19fc1a534cf0814b4c01d7ad /src/social/test_social.c
parent9a12525940373bd2616357e066fe59cb2ea08d8d (diff)
downloadgnunet-d4ffe9082fa632d5696611dc5977852cc6397bce.tar.gz
gnunet-d4ffe9082fa632d5696611dc5977852cc6397bce.zip
social: save file
Diffstat (limited to 'src/social/test_social.c')
-rw-r--r--src/social/test_social.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/social/test_social.c b/src/social/test_social.c
index d2eed64d6..2e9b270b6 100644
--- a/src/social/test_social.c
+++ b/src/social/test_social.c
@@ -300,7 +300,7 @@ notify_data (void *cls, uint16_t *data_size, void *data)
300 return GNUNET_YES; 300 return GNUNET_YES;
301 } 301 }
302 302
303 uint16_t size = strlen (tmit->data[tmit->n]) + 1; 303 uint16_t size = strlen (tmit->data[tmit->n]);
304 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 304 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
305 "Transmit notify data: %u bytes available, " 305 "Transmit notify data: %u bytes available, "
306 "processing fragment %u/%u (size %u).\n", 306 "processing fragment %u/%u (size %u).\n",
@@ -932,10 +932,10 @@ guest_talk ()
932 "_bar_foo", DATA2ARG ("one two three")); 932 "_bar_foo", DATA2ARG ("one two three"));
933 GNUNET_PSYC_env_add (tmit.env, GNUNET_PSYC_OP_ASSIGN, 933 GNUNET_PSYC_env_add (tmit.env, GNUNET_PSYC_OP_ASSIGN,
934 "_bar_baz", DATA2ARG ("four five")); 934 "_bar_baz", DATA2ARG ("four five"));
935 tmit.data[0] = "zzz xxx yyy"; 935 tmit.data[0] = "zzz xxx yyy ";
936 tmit.data[1] = "zyx wvu tsr qpo"; 936 tmit.data[1] = "zyx wvu tsr qpo.\n";
937 tmit.data_delay[1] = 1; 937 tmit.data_delay[1] = 1;
938 tmit.data[2] = "testing ten nine eight"; 938 tmit.data[2] = "testing ten nine eight.\n";
939 tmit.data_count = 3; 939 tmit.data_count = 3;
940 940
941 tmit.guest_talk 941 tmit.guest_talk
@@ -961,11 +961,11 @@ host_announce ()
961 "_foo_bar", DATA2ARG ("foo bar")); 961 "_foo_bar", DATA2ARG ("foo bar"));
962 GNUNET_PSYC_env_add (tmit.env, GNUNET_PSYC_OP_ASSIGN, 962 GNUNET_PSYC_env_add (tmit.env, GNUNET_PSYC_OP_ASSIGN,
963 "_foo_bar_baz", DATA2ARG ("foo bar baz")); 963 "_foo_bar_baz", DATA2ARG ("foo bar baz"));
964 tmit.data[0] = "aaa bbb ccc"; 964 tmit.data[0] = "aaa bbb ccc ";
965 tmit.data[1] = "abc def ghi jkl"; 965 tmit.data[1] = "abc def ghi jkl.\n";
966 tmit.data_delay[1] = 1; 966 tmit.data_delay[1] = 1;
967 tmit.data[2] = "testing one two three"; 967 tmit.data[2] = "testing one two three ";
968 tmit.data[3] = "four five"; 968 tmit.data[3] = "four five.\n";
969 tmit.data_count = 4; 969 tmit.data_count = 4;
970 970
971 tmit.host_ann 971 tmit.host_ann
@@ -995,9 +995,9 @@ host_announce2 ()
995 "_foo2_bar", DATA2ARG ("FOO BAR")); 995 "_foo2_bar", DATA2ARG ("FOO BAR"));
996 GNUNET_PSYC_env_add (tmit.env, GNUNET_PSYC_OP_ASSIGN, 996 GNUNET_PSYC_env_add (tmit.env, GNUNET_PSYC_OP_ASSIGN,
997 "_foo2_bar", DATA2ARG ("FOO BAR BAZ")); 997 "_foo2_bar", DATA2ARG ("FOO BAR BAZ"));
998 tmit.data[0] = "AAA BBB CCC"; 998 tmit.data[0] = "AAA BBB CCC ";
999 tmit.data[1] = "ABC DEF GHI JKL"; 999 tmit.data[1] = "ABC DEF GHI JKL.\n";
1000 tmit.data[2] = "TESTING ONE TWO THREE"; 1000 tmit.data[2] = "TESTING ONE TWO THREE.\n";
1001 tmit.data_count = 3; 1001 tmit.data_count = 3;
1002 1002
1003 tmit.host_ann 1003 tmit.host_ann