Enlightenment CVS committal
Author : sarajervi
Project : misc
Module : erss
Dir : misc/erss/src
Modified Files:
erss.c
Log Message:
woops... forgot this check
===================================================================
RCS file: /cvsroot/enlightenment/misc/erss/src/erss.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- erss.c 25 Dec 2003 20:16:06 -0000 1.3
+++ erss.c 25 Dec 2003 20:19:02 -0000 1.4
@@ -436,6 +436,12 @@
}
+ if(optind >= argc) {
+ fprintf (stderr, "Usage: %s [OPTION] ...\n", PACKAGE);
+ fprintf (stderr, "Try `%s -h` for more information\n", PACKAGE);
+ exit (-1);
+ }
+
if (!cfg->hostname) {
fprintf (stderr, "Erss error: No hostname defined!\n");
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs