Changeset 6385 for trunk/console
- Timestamp:
- 07/01/08 19:09:55 (5 months ago)
- Files:
-
- 1 modified
-
trunk/console/src/console.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/console/src/console.cpp
r6373 r6385 2098 2098 lFileList.push_back(strdup(data->szFileName)); 2099 2099 2100 winMain->event = licqDaemon->icqFileTransfer( strtoul(data->szId, (char **)NULL, 10),2100 winMain->event = licqDaemon->icqFileTransfer(data->szId, 2101 2101 data->szFileName, data->szDescription, lFileList, ICQ_TCPxMSG_NORMAL, 2102 2102 !bDirect); … … 3036 3036 // Passwords match if we are this far, now set up the new user 3037 3037 winMain->wprintf("Registration complete for user %s\n",data->szUin); 3038 gUserManager. SetOwnerUin(atol(data->szUin));3038 gUserManager.AddOwner(data->szUin, LICQ_PPID); 3039 3039 ICQOwner* owner = gUserManager.FetchOwner(LICQ_PPID, LOCK_W); 3040 3040 owner->SetPassword(data->szPassword1); … … 3128 3128 const char *home = getenv("HOME"); 3129 3129 ftman->ReceiveFiles(home); 3130 licqDaemon->icqFileTransferAccept( strtoul(data->szId, (char **)NULL, 10), ftman->LocalPort(),3130 licqDaemon->icqFileTransferAccept(data->szId, ftman->LocalPort(), 3131 3131 f->Sequence(), f->MessageID(), f->IsDirect(), 3132 3132 f->FileDescription(), f->Filename(), f->FileSize()); … … 3161 3161 // XXX hack 3162 3162 unsigned long dummy[2] = { 0, 0 }; 3163 licqDaemon->icqFileTransferRefuse( strtoul(data->szId, (char **)NULL, 10), data->szReason,3163 licqDaemon->icqFileTransferRefuse(data->szId, data->szReason, 3164 3164 f->Sequence(), dummy, true); 3165 3165
