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

Fixed now.
This commit is contained in:
mostafah%oeone.com 2002-04-03 19:50:00 +00:00
Родитель 25589f3164
Коммит 679fcade75
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;