diff options
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r-- | src/fs/gnunet-publish.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c index eb64cc4cc..dbbdfda8c 100644 --- a/src/fs/gnunet-publish.c +++ b/src/fs/gnunet-publish.c | |||
@@ -734,19 +734,18 @@ main (int argc, char *const *argv) | |||
734 | 0, &GNUNET_GETOPT_set_one, &verbose}, | 734 | 0, &GNUNET_GETOPT_set_one, &verbose}, |
735 | GNUNET_GETOPT_OPTION_END | 735 | GNUNET_GETOPT_OPTION_END |
736 | }; | 736 | }; |
737 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
738 | "GNUnet publish starts\n"); | ||
739 | bo.expiration_time = | 737 | bo.expiration_time = |
740 | GNUNET_FS_year_to_time (GNUNET_FS_get_current_year () + 2); | 738 | GNUNET_FS_year_to_time (GNUNET_FS_get_current_year () + 2); |
741 | 739 | ||
742 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) | 740 | if (GNUNET_OK != GNUNET_STRINGS_get_utf8_args (argc, argv, &argc, &argv)) |
743 | return 2; | 741 | return 2; |
744 | 742 | ret = (GNUNET_OK == | |
745 | return (GNUNET_OK == | 743 | GNUNET_PROGRAM_run (argc, argv, "gnunet-publish [OPTIONS] FILENAME", |
746 | GNUNET_PROGRAM_run (argc, argv, "gnunet-publish [OPTIONS] FILENAME", | 744 | gettext_noop |
747 | gettext_noop | 745 | ("Publish a file or directory on GNUnet"), |
748 | ("Publish a file or directory on GNUnet"), | 746 | options, &run, NULL)) ? ret : 1; |
749 | options, &run, NULL)) ? ret : 1; | 747 | GNUNET_free ((void*) argv); |
748 | return ret; | ||
750 | } | 749 | } |
751 | 750 | ||
752 | /* end of gnunet-publish.c */ | 751 | /* end of gnunet-publish.c */ |