int i, hiteof = 0;
int offset = 0;
int olen;
- char *dest;
olen = 0;
#include <php_config.h>
#else
#include <config.w32.h>
+#include <stdlib.h>
#endif
static const char rcsid[] = "#(@) $Id$";
* 06/2000
* HISTORY
* $Log$
+ * Revision 1.3 2002/07/05 04:43:53 danda
+ * merged in updates from SF project. bring php repository up to date with xmlrpc-epi version 0.51
+ *
* Revision 1.9 2002/07/03 20:54:30 danda
* root element should not have a parent. patch from anon SF user
*
/* expat start of element handler */
static void startElement(void *userData, const char *name, const char **attrs)
{
- int i;
xml_element *c;
xml_elem_data* mydata = (xml_elem_data*)userData;
const char** p = attrs;
XMLRPC_VALUE v = XMLRPC_CreateValueDateTime_ISO8601(NULL, value->value.str.val);
if(v) {
time_t timestamp = XMLRPC_GetValueDateTime(v);
- if(time) {
+ if(timestamp) {
pval* ztimestamp;
MAKE_STD_ZVAL(ztimestamp);
int i, hiteof = 0;
int offset = 0;
int olen;
- char *dest;
olen = 0;
#include <php_config.h>
#else
#include <config.w32.h>
+#include <stdlib.h>
#endif
static const char rcsid[] = "#(@) $Id$";
* 06/2000
* HISTORY
* $Log$
+ * Revision 1.3 2002/07/05 04:43:53 danda
+ * merged in updates from SF project. bring php repository up to date with xmlrpc-epi version 0.51
+ *
* Revision 1.9 2002/07/03 20:54:30 danda
* root element should not have a parent. patch from anon SF user
*
/* expat start of element handler */
static void startElement(void *userData, const char *name, const char **attrs)
{
- int i;
xml_element *c;
xml_elem_data* mydata = (xml_elem_data*)userData;
const char** p = attrs;
XMLRPC_VALUE v = XMLRPC_CreateValueDateTime_ISO8601(NULL, value->value.str.val);
if(v) {
time_t timestamp = XMLRPC_GetValueDateTime(v);
- if(time) {
+ if(timestamp) {
pval* ztimestamp;
MAKE_STD_ZVAL(ztimestamp);