Changeset 33 in chevmsgr for trunk/msgclnt.cpp


Ignore:
Timestamp:
12/09/15 06:47:21 (8 years ago)
Author:
cheese
Message:
  1. 클라이언트 UI ID/PW 입력 안하면 죽는 문제 수정
  2. UI 종료 함수 exit로 수정
  3. 그룹챗 인덱스 변수 형 때문에 나오는 warning 수정
  4. toOpenSession 함수 가끔 죽는 문제 수정
  5. generateRandom()에서 time()하던거 rand()로 수정
  6. sms 전송 url 및 sms 코드 생성 로직 대폭 수정 (주석 참고)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/msgclnt.cpp

    r32 r33  
    8989    SOpenSession o;
    9090
    91     o.sessid = message.get<std::string>(ProtocolType::SESSION_ID);
    92     o.idList = message.getList<std::string>(ProtocolType::ID_LIST);
    93 
    9491    if (message.mObject.HasKey(ProtocolType::SESSION_KEY))
    9592    {
     93        o.sessid = message.get<std::string>(ProtocolType::SESSION_ID);
     94        o.idList = message.getList<std::string>(ProtocolType::ID_LIST);
     95
    9696        std::string encodedKey = message.get<std::string>(ProtocolType::SESSION_KEY);
    9797        cf::bin key = cf::codec::hex::getInstance()->decode(encodedKey);
Note: See TracChangeset for help on using the changeset viewer.