Enlightenment CVS committal
Author : sarajervi
Project : misc
Module : erss
Dir : misc/erss/src
Modified Files:
erss.c
Log Message:
Some small fixes..
Fixed the vg and slashdot config (all you handyande.cfg users should now be
able to switch directly to slashdot.cfg).
===================================================================
RCS file: /cvsroot/enlightenment/misc/erss/src/erss.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- erss.c 24 Jan 2004 18:04:35 -0000 1.26
+++ erss.c 28 Jan 2004 17:53:28 -0000 1.27
@@ -185,11 +185,11 @@
snprintf (c, sizeof (c), "GET %s HTTP/1.0\r\n", cfg->url);
ecore_con_server_send (server, c, strlen (c));
- snprintf (c, sizeof (c), "Host: %s \r\n", cfg->hostname);
+ snprintf (c, sizeof (c), "Host: %s\r\n", cfg->hostname);
ecore_con_server_send (server, c, strlen (c));
- snprintf (c, sizeof (c), "User-Agent: %s/%s\r\n\r\n",
- PACKAGE, VERSION);
- ecore_con_server_send (server, c, strlen (c));
+ snprintf (c, sizeof (c), "User-Agent: %s/%s\r\n\r\n",
+ PACKAGE, VERSION);
+ ecore_con_server_send (server, c, strlen (c));
waiting_for_reply = TRUE;
@@ -228,7 +228,7 @@
* Now split our buffer in each newline and then parse the line.
*/
- temp = strchr(buf, '<');
+ temp = strstr (buf, "<?xml");
doc = xmlParseMemory (temp, main_bufsize - (temp - main_buffer));
erss_parse (doc);
@@ -312,6 +312,7 @@
}
snprintf (c, sizeof (c), "%s \"%s\"", rc->browser, item->url);
+ printf ("%s\n", c);
ecore_exe_run (c, NULL);
}
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs