degesch: cleanup
This commit is contained in:
parent
6928184a3d
commit
7e64fd9886
|
@ -1233,7 +1233,7 @@ weak_unref (struct weak_ref_link **list, struct weak_ref_link **link)
|
||||||
\
|
\
|
||||||
static struct weak_ref_link * \
|
static struct weak_ref_link * \
|
||||||
name ## _weak_ref (struct name *self, destroy_cb_fn cb, void *user_data) \
|
name ## _weak_ref (struct name *self, destroy_cb_fn cb, void *user_data) \
|
||||||
{ return weak_ref (&self->weak_refs, cb, user_data); } \
|
{ return weak_ref (&self->weak_refs, cb, user_data); } \
|
||||||
\
|
\
|
||||||
static void \
|
static void \
|
||||||
name ## _weak_unref (struct name *self, struct weak_ref_link **link) \
|
name ## _weak_unref (struct name *self, struct weak_ref_link **link) \
|
||||||
|
@ -5795,7 +5795,6 @@ make_server_postfix_registered (struct buffer *buffer, struct str *output)
|
||||||
struct server *s = buffer->server;
|
struct server *s = buffer->server;
|
||||||
if (buffer->type == BUFFER_CHANNEL)
|
if (buffer->type == BUFFER_CHANNEL)
|
||||||
{
|
{
|
||||||
struct server *s = buffer->server;
|
|
||||||
struct channel_user *channel_user =
|
struct channel_user *channel_user =
|
||||||
irc_channel_get_user (buffer->channel, s->irc_user);
|
irc_channel_get_user (buffer->channel, s->irc_user);
|
||||||
if (channel_user)
|
if (channel_user)
|
||||||
|
@ -5818,6 +5817,7 @@ make_server_postfix (struct buffer *buffer, struct str *output)
|
||||||
else
|
else
|
||||||
make_server_postfix_registered (buffer, output);
|
make_server_postfix_registered (buffer, output);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
make_prompt (struct app_context *ctx, struct str *output)
|
make_prompt (struct app_context *ctx, struct str *output)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue