mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 11:26:21 +00:00
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
./configure CFLAGS='-g -O0' CXXFLAGS='-g -O0'
|
./configure CFLAGS='-g3 -O0' CXXFLAGS='-g3 -O0'
|
||||||
|
|||||||
@@ -135,10 +135,14 @@ static void
|
|||||||
_cons_show_typing(const char * const barejid)
|
_cons_show_typing(const char * const barejid)
|
||||||
{
|
{
|
||||||
ProfWin *console = wins_get_console();
|
ProfWin *console = wins_get_console();
|
||||||
PContact contact = roster_get_contact(barejid);
|
|
||||||
const char * display_usr = NULL;
|
const char * display_usr = NULL;
|
||||||
if (p_contact_name(contact) != NULL) {
|
PContact contact = roster_get_contact(barejid);
|
||||||
display_usr = p_contact_name(contact);
|
if (contact != NULL) {
|
||||||
|
if (p_contact_name(contact) != NULL) {
|
||||||
|
display_usr = p_contact_name(contact);
|
||||||
|
} else {
|
||||||
|
display_usr = barejid;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
display_usr = barejid;
|
display_usr = barejid;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1258,10 +1258,14 @@ _ui_recipient_gone(const char * const barejid)
|
|||||||
if (barejid == NULL)
|
if (barejid == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
PContact contact = roster_get_contact(barejid);
|
|
||||||
const char * display_usr = NULL;
|
const char * display_usr = NULL;
|
||||||
if (p_contact_name(contact) != NULL) {
|
PContact contact = roster_get_contact(barejid);
|
||||||
display_usr = p_contact_name(contact);
|
if (contact != NULL) {
|
||||||
|
if (p_contact_name(contact) != NULL) {
|
||||||
|
display_usr = p_contact_name(contact);
|
||||||
|
} else {
|
||||||
|
display_usr = barejid;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
display_usr = barejid;
|
display_usr = barejid;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user