mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 13:46:21 +00:00
Changed Jid typedef to be explicit pointer
This commit is contained in:
@@ -26,10 +26,10 @@
|
||||
|
||||
#include "jid.h"
|
||||
|
||||
Jid
|
||||
Jid *
|
||||
jid_create(const gchar * const str)
|
||||
{
|
||||
Jid result = NULL;
|
||||
Jid *result = NULL;
|
||||
|
||||
if (str == NULL) {
|
||||
return NULL;
|
||||
|
||||
@@ -33,9 +33,9 @@ struct jid_t {
|
||||
char *fulljid;
|
||||
};
|
||||
|
||||
typedef struct jid_t *Jid;
|
||||
typedef struct jid_t Jid;
|
||||
|
||||
Jid jid_create(const gchar * const str);
|
||||
Jid * jid_create(const gchar * const str);
|
||||
|
||||
gboolean jid_is_room(const char * const room_jid);
|
||||
char * create_full_room_jid(const char * const room,
|
||||
|
||||
Reference in New Issue
Block a user