You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by du...@apache.org on 2008/03/11 09:41:51 UTC
svn commit: r635849 - /webservices/axis2/trunk/c/util/src/date_time.c
Author: dushshantha
Date: Tue Mar 11 01:41:51 2008
New Revision: 635849
URL: http://svn.apache.org/viewvc?rev=635849&view=rev
Log:
Fixed Windows build brakes.
Modified:
webservices/axis2/trunk/c/util/src/date_time.c
Modified: webservices/axis2/trunk/c/util/src/date_time.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/date_time.c?rev=635849&r1=635848&r2=635849&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/date_time.c (original)
+++ webservices/axis2/trunk/c/util/src/date_time.c Tue Mar 11 01:41:51 2008
@@ -145,9 +145,11 @@
int min;
int sec;
int msec;
- axis2_bool_t tz_pos = AXIS2_TRUE;;
- int tz_hour;
+ int tz_hour;
int tz_min;
+
+ axis2_bool_t tz_pos = AXIS2_TRUE;;
+
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if (strchr(time_str, 'Z'))
@@ -360,10 +362,11 @@
int min;
int sec;
int msec;
- axis2_bool_t tz_pos = AXIS2_FALSE;;
- int tz_hour;
+ int tz_hour;
int tz_min;
int is_year_neg = 0;
+ axis2_bool_t tz_pos = AXIS2_FALSE;;
+
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if (!date_time_str || *date_time_str == '+')
@@ -839,9 +842,10 @@
int min;
int sec;
int msec;
- axis2_bool_t tz_pos = AXIS2_FALSE;;
- int tz_hour;
+ int tz_hour;
int tz_min;
+ axis2_bool_t tz_pos = AXIS2_FALSE;
+
axutil_date_time_t *ret = NULL;
year = date_time->year;
@@ -1034,6 +1038,7 @@
int min)
{
axutil_date_time_t * date_time = NULL;
+ axutil_date_time_t *ret = NULL;
if (date_time_in->tz_hour && date_time_in->tz_min)
{
return NULL;
@@ -1049,7 +1054,7 @@
date_time->tz_min = min;
date_time->tz_pos = is_positive ? AXIS2_FALSE : AXIS2_TRUE;
- axutil_date_time_t *ret =
+ ret =
axutil_date_time_local_to_utc(date_time, env);
ret->tz_hour = hour;
ret->tz_min = min;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org