Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 146717 Details for
Bug 187330
net-im/ekg2{,-remote} - New Package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0.1.1-conference-logs.patch
0.1.1-conference-logs.patch (text/plain), 1.24 KB, created by
Piotr Szymaniak
on 2008-03-20 22:50:55 UTC
(
hide
)
Description:
0.1.1-conference-logs.patch
Filename:
MIME Type:
Creator:
Piotr Szymaniak
Created:
2008-03-20 22:50:55 UTC
Size:
1.24 KB
patch
obsolete
>--- plugins/logs/main.c 2007-12-04 21:13:35.000000000 +0100 >+++ plugins/logs/main.c 2007-12-04 21:13:54.000000000 +0100 >@@ -921,16 +921,34 @@ > > session_t *s = session_find(session); // session pointer > log_window_t *lw; >- char *ruid; >+ >+ char *fuid; /* file uid */ >+ char *ruid; /* strange variable name (ofcorz uid) */ >+ char *cuid = NULL; /* conference uid */ > > /* olewamy jesli to irc i ma formatke irssi like, czekajac na irc-protocol-message */ > if (session_check(s, 0, "irc") && logs_log_format(s) == LOG_FORMAT_IRSSI) > return 0; > > class &= ~EKG_NO_THEMEBIT; >+ >+ if (class != EKG_MSGCLASS_SENT && class != EKG_MSGCLASS_SENT_CHAT) { >+ int recipients_count = array_count((char **) rcpts); >+ >+ if (recipients_count > 0) { >+ struct conference *c = conference_find_by_uids(s, uid, (const char **) rcpts, recipients_count, 0); >+ >+ if (c) cuid = c->name; >+ else debug("logs_handler() smth strange happen (c == NULL) && recipients_count > 0 [%d]\n", recipients_count); >+ } >+ } >+ > ruid = (class >= EKG_MSGCLASS_SENT) ? rcpts[0] : uid; > >- lw = logs_log_find(session, ruid, 1)->lw; >+ if (cuid) fuid = cuid; >+ else fuid = ruid; >+ >+ lw = logs_log_find(session, fuid, 1)->lw; > > if (!lw) { > debug("[LOGS:%d] logs_handler, shit happen\n", __LINE__);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 187330
:
135274
|
146715
|
146717
|
146719
|
159935
|
160980
|
165517
|
193939
|
193968