1 diff -u mms_client-0.0.3/Makefile.in mms_client-0.0.4/Makefile.in
2 --- mms_client-0.0.3/Makefile.in 2002-01-21 18:51:31.000000000 -0800
3 +++ mms_client-0.0.4/Makefile.in 2004-04-17 15:57:10.241509408 -0700
5 mmsclient_DEPENDENCIES =
8 -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
9 +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) "-DVERSION=\"$(VERSION)\""
11 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
12 HEADERS = $(noinst_HEADERS)
13 diff -u mms_client-0.0.3/README mms_client-0.0.4/README
14 --- mms_client-0.0.3/README 2001-10-09 16:09:36.000000000 -0700
15 +++ mms_client-0.0.4/README 2004-04-17 17:16:29.204037136 -0700
17 +mmsclient downloads MMS (Microsoft Media Server) streams, and
19 diff -u mms_client-0.0.3/client.c mms_client-0.0.4/client.c
20 --- mms_client-0.0.3/client.c 2001-12-28 19:40:48.000000000 -0800
21 +++ mms_client-0.0.4/client.c 2004-04-17 17:02:06.409201888 -0700
23 * mms://193.159.244.12/n24_wmt_mid
26 +#define HELPINFO "Usage: mmsclient mms://<url>\n -v --version\n\tPrint version information\n -h --help\n\tPrint this page\nhttp://www.geocities.com/majormms/\n"
33 char *path, *url, *file, *cp;
36 - printf ("usage: %s url\n", argv[0]);
37 + printf ("Usage: %s URL\n", argv[0]);
42 + /* check for non-url arguments (version or help ...) */
43 + if (strncmp(argv[1], "mms://", 6) == 0 && argv[1][6] == 0){ /* Just typed "mms://" with no URL */
44 + printf("Error: No URL\n");
47 + if (strncmp(argv[1], "mms://", 6) != 0){ /* haven't typed a url */
49 + if (strncmp(argv[1], "--version", 9) == 0 || strncmp(argv[1], "-v", 9) == 0){
50 + printf("%s\n", VERSION);
51 + }else if (strncmp(argv[1], "--help", 9) == 0 || strncmp(argv[1], "-h", 9) == 0){
52 + printf("%s\n", HELPINFO);
54 + printf("Error: unrecognized command %s\n", argv[1]);
62 strncpy (host, &url[6], 255);
63 cp = strchr(host,'/');
65 + if(cp == 0){ /* If they just typed a top level domain name */
66 + printf("Error: Incomplete URL '%s'\n", &url[6]);
69 + *cp= 0; /* Make the '/' a null */
71 printf ("host : >%s<\n", host);
73 path = strchr(&url[6], '/') +1;
75 printf ("path : >%s<\n", path);
78 file = strrchr (url, '/');
80 printf ("file : >%s<\n", file);
81 diff -u mms_client-0.0.3/configure mms_client-0.0.4/configure
82 --- mms_client-0.0.3/configure 2002-01-21 18:50:51.000000000 -0800
83 +++ mms_client-0.0.4/configure 2004-04-17 16:47:01.126825728 -0700
91 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
92 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }