Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
filter-branch: Fix renaming a directory in the tree-filter
[gitweb.git]
/
imap-send.c
diff --git
a/imap-send.c
b/imap-send.c
index 10cce15a427646a1281afa5197f40def39151154..04afbc492485d95a85a7f0f57bbb48def6337a99 100644
(file)
--- a/
imap-send.c
+++ b/
imap-send.c
@@
-1302,6
+1302,10
@@
main(int argc, char **argv)
fprintf( stderr, "no imap store specified\n" );
return 1;
}
+ if (!server.host) {
+ fprintf( stderr, "no imap host specified\n" );
+ return 1;
+ }
/* read the messages */
if (!read_message( stdin, &all_msgs )) {