Show
Ignore:
Timestamp:
06/09/08 01:12:07 (7 months ago)
Author:
flynd
Message:

Don't trust functions that may return null values. This should fix #1515.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/src/icqd-srv.cpp

    r6227 r6246  
    634634  gLog.Info(tr("%sRegistering a new user...\n"), L_SRVxSTR); 
    635635  ICQEvent *e = SendExpectEvent_Server(0, p, NULL); 
    636   e->thread_plugin = m_nRegisterThreadId; 
     636  if (e != NULL) 
     637    e->thread_plugin = m_nRegisterThreadId; 
    637638} 
    638639