Changeset 8218

Show
Ignore:
Timestamp:
03/10/10 09:07:06 (6 months ago)
Author:
dpage
Message:

Don't crash if debugging a null procedure. [Ashesh Vashi]

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pgadmin3/pgadmin/debugger/dlgDirectDbg.cpp

    r8189 r8218  
    742742 
    743743        // Don't bother telling the user that he aborted - he already knows! 
    744         if (strcmp(state, "57014")) 
     744        if (state != NULL && strcmp(state, "57014")) 
    745745            wxLogError( wxT( "%s\n" ), wxString(PQerrorMessage(m_conn->getConnection()), wxConvUTF8).c_str()); 
    746746        else