CVS: sylpheedclaws/plugins/vcalendar/src vcal_folder.c,1.2.2.33,1.2.2.34
[email protected] Sun, 21 May 2006 18:47:38 +0000 (UTC)
Newsgroups
gmane.mail.sylpheed.claws.cvs
Message-ID
<[email protected] >
Update of /pack/anoncvs/sylpheedclaws/plugins/vcalendar/src
In directory sunsite.dk:/tmp/cvs-serv7716/vcalendar/src
Modified Files:
Tag: gtk2
vcal_folder.c
Log Message:
Compile fixes for gcc-2.9x
Index: vcal_folder.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/plugins/vcalendar/src/vcal_folder.c,v
retrieving revision 1.2.2.33
retrieving revision 1.2.2.34
diff -u -d -r1.2.2.33 -r1.2.2.34
--- vcal_folder.c 2006/04/18 16:31:23 1.2.2.33
+++ vcal_folder.c 2006/05/21 18:47:10 1.2.2.34
@@ -896,13 +896,22 @@
static void url_read(const char *url, gboolean verbose,
void (*callback)(const gchar *url, gchar *data, gboolean verbose))
{
- gchar *result = NULL;
- thread_data *td = g_new0(thread_data, 1);
+ gchar *result;
+ thread_data *td;
+#ifdef USE_PTHREAD
pthread_t pt;
- gchar *msg = NULL;
- void *res = NULL;
- time_t start_time = time(NULL);
- gboolean killed = FALSE;
+#endif
+ gchar *msg;
+ void *res;
+ time_t start_time;
+ gboolean killed;
+
+ result = NULL;
+ td = g_new0(thread_data, 1);
+ msg = NULL;
+ res = NULL;
+ start_time = time(NULL);
+ killed = FALSE;
td->url = url;
td->result = NULL;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]