r1658 - in dev/concept/moongoo: . libalfs syntax

neocool at linuxfromscratch.org neocool at linuxfromscratch.org
Wed Dec 15 15:20:55 PST 2004


Author: neocool
Date: 2004-12-15 16:20:54 -0700 (Wed, 15 Dec 2004)
New Revision: 1658

Modified:
   dev/concept/moongoo/libalfs/net.c
   dev/concept/moongoo/moongoo.c
   dev/concept/moongoo/moongoo.h
   dev/concept/moongoo/syntax/sample.c
Log:
Update.


Modified: dev/concept/moongoo/libalfs/net.c
===================================================================
--- dev/concept/moongoo/libalfs/net.c	2004-12-15 23:02:52 UTC (rev 1657)
+++ dev/concept/moongoo/libalfs/net.c	2004-12-15 23:20:54 UTC (rev 1658)
@@ -45,7 +45,7 @@
 	curl_easy_setopt(handle, CURLOPT_URL, url);
 	curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, writemem_cb);
 	curl_easy_setopt(handle, CURLOPT_WRITEDATA, (void *)chunk);
-	curl_easy_setopt(handle, CURLOPT_USERAGENT, "moongoo-agent/1.0");
+	curl_easy_setopt(handle, CURLOPT_USERAGENT, "curl-agent/1.0");
 	//curl_easy_setopt(handle, CURLOPT_VERBOSE, 1);
 	
 	chunk->res = curl_easy_perform(handle);

Modified: dev/concept/moongoo/moongoo.c
===================================================================
--- dev/concept/moongoo/moongoo.c	2004-12-15 23:02:52 UTC (rev 1657)
+++ dev/concept/moongoo/moongoo.c	2004-12-15 23:20:54 UTC (rev 1658)
@@ -58,7 +58,7 @@
 				quiet = true;
 				break;
 			case 'V':
-				printf("moongoo %s\nWritten by Boris Buegling\n", VERSION);
+				printf("%s %s\nWritten by Boris Buegling\n", NAME, VERSION);
 				goto cleanup;
 			case 'h':
 				printf("moongoo [OPTIONS] BOOK\n");

Modified: dev/concept/moongoo/moongoo.h
===================================================================
--- dev/concept/moongoo/moongoo.h	2004-12-15 23:02:52 UTC (rev 1657)
+++ dev/concept/moongoo/moongoo.h	2004-12-15 23:20:54 UTC (rev 1658)
@@ -3,6 +3,7 @@
 
 #define DEF_SYN		"book"
 #define MOO_XML		"/.nALFS/answers.xml"
+#define NAME		"moongoo"
 #define PLUG_DIR	"./"
 #define PKG_XML		"packages.xml"
 #define	VERSION		"0.0.3"

Modified: dev/concept/moongoo/syntax/sample.c
===================================================================
--- dev/concept/moongoo/syntax/sample.c	2004-12-15 23:02:52 UTC (rev 1657)
+++ dev/concept/moongoo/syntax/sample.c	2004-12-15 23:20:54 UTC (rev 1658)
@@ -1,4 +1,4 @@
-/* Moongoo plugin API example
+/* Plugin API example
  *
  * Put your plugin info into the static t_plug structure, including your
  * parser function, which needs to take one xmlNodePtr as argument and




More information about the alfs-log mailing list