In GetSyncId() m_alarmunits was being checked instead of m_syncid. (Bug 135193)

Fixed now.


git-svn-id: svn://10.0.0.236/trunk@118027 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mostafah%oeone.com 2002-04-03 19:50:00 +00:00
parent 3a8a2379b6
commit a4afcf7f3c

View File

@ -397,7 +397,7 @@ NS_IMETHODIMP oeICalEventImpl::GetSyncId(char * *aRetVal)
#ifdef ICAL_DEBUG_ALL
printf( "GetSyncId()\n" );
#endif
if( m_alarmunits ) {
if( m_syncid ) {
*aRetVal= (char*) nsMemory::Clone( m_syncid, strlen(m_syncid)+1);
if( *aRetVal == nsnull )
return NS_ERROR_OUT_OF_MEMORY;