Changeset 9b46b64


Ignore:
Timestamp:
2006-06-20T22:05:04Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2b14eef
Parents:
ece2cd2
Message:

Fixed error message for unknown protocols.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_xml.c

    rece2cd2 r9b46b64  
    137137                        prpl = find_protocol( protocol );
    138138               
    139                 if( !handle || !password )
     139                if( !handle || !password || !protocol )
    140140                        g_set_error( error, G_MARKUP_ERROR, G_MARKUP_ERROR_INVALID_CONTENT,
    141141                                     "Missing attributes for %s element", element_name );
    142142                else if( !prpl )
    143143                        g_set_error( error, G_MARKUP_ERROR, G_MARKUP_ERROR_INVALID_CONTENT,
    144                                      "Missing or unknown protocol %s element", element_name );
     144                                     "Unknown protocol: %s", protocol );
    145145                else
    146146                {
Note: See TracChangeset for help on using the changeset viewer.