Changeset 32249


Ignore:
Timestamp:
01/08/15 20:50:45 (8 years ago)
Author:
obi
Message:

fix md5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/adjust.h

    r32242 r32249  
    431431                                        debug(99, "community_pass: convert to md5");
    432432                                        debug(99, "community_pass1: %s", community_pass->ret);
    433                                         community_pass->ret = ostrcat(MDString(community_pass->ret), NULL, 1, 0);
     433                                        char* tmpstr = NULL;
     434                                        tmpstr = ostrcat(community_pass->ret, NULL, 0, 0);
     435                                        free(community_pass->ret);
     436                                        community_pass->ret = MDString(tmpstr);
     437                                        free(tmpstr), tmpstr = NULL;
    434438                                        debug(99, "community_pass2: %s", community_pass->ret);
    435439                                }
Note: See TracChangeset for help on using the changeset viewer.