Changeset 35398


Ignore:
Timestamp:
09/05/15 16:37:34 (7 years ago)
Author:
obi
Message:

[tithek] amazon fix login error msg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/amazon.h

    r35395 r35398  
    223223//      debug(99, "login: %s", login);
    224224
    225         if(ostrcmp("null", login) == 0)
     225        if(login == NULL || ostrcmp("null", login) == 0)
    226226        {
    227227                debug(99, "Amazon Login Error");
     
    340340                free(tmpstr), tmpstr = NULL;
    341341       
    342                 if(ostrcmp("null", login) == 0)
     342                if(login == NULL || ostrcmp("null", login) == 0)
    343343                {
    344344                        debug(99, "Amazon Login Error");
Note: See TracChangeset for help on using the changeset viewer.