equal
deleted
inserted
replaced
206 context = g_option_context_new ("- test send message asynchronously"); |
206 context = g_option_context_new ("- test send message asynchronously"); |
207 g_option_context_add_main_entries (context, entries, NULL); |
207 g_option_context_add_main_entries (context, entries, NULL); |
208 g_option_context_parse (context, &argc, &argv, NULL); |
208 g_option_context_parse (context, &argc, &argv, NULL); |
209 g_option_context_free (context); |
209 g_option_context_free (context); |
210 |
210 |
211 if (!server || !username || !password || !recipient) { |
211 if (!username || !password || !recipient) { |
212 g_printerr ("For usage, try %s --help\n", argv[0]); |
212 g_printerr ("For usage, try %s --help\n", argv[0]); |
213 return EXIT_FAILURE; |
213 return EXIT_FAILURE; |
214 } |
214 } |
215 |
215 |
216 if (username && strchr (username, '@') == NULL) { |
216 if (username && strchr (username, '@') == NULL) { |