Changeset 587

Show
Ignore:
Timestamp:
11/05/04 07:31:35 (4 years ago)
Author:
smoku
Message:

new password change method fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/register.c

    r579 r587  
    223223        g_free(newpasswdW); 
    224224        g_free(qaW); 
    225  
    226         r=add_request(RT_PASSWD,from,to,id,form,gghttp,s); 
    227         r->data=g_strdup(newpasswd); 
     225        if (gghttp!=NULL){ 
     226                r=add_request(RT_PASSWD,from,to,id,form,gghttp,s); 
     227                r->data=g_strdup(newpasswd); 
     228        } 
     229         
    228230        return 0; 
    229231}