diff options
author | James Booth <boothj5@gmail.com> | 2013-01-13 00:05:25 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-01-13 00:05:25 +0000 |
commit | 1cc33cc4915b04d08604d959ff3286a753bfc813 (patch) | |
tree | 4f487e885fe7a428a90086b75a1ec52230773541 /src | |
parent | 7733af1293a81162ee28a42f0a4ec281901b7feb (diff) | |
download | profani-tty-1cc33cc4915b04d08604d959ff3286a753bfc813.tar.gz |
Changed Jid typedef to be explicit pointer
Diffstat (limited to 'src')
-rw-r--r-- | src/jid.c | 4 | ||||
-rw-r--r-- | src/jid.h | 4 | ||||
-rw-r--r-- | src/muc.c | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/jid.c b/src/jid.c index 839cbe68..4eef9384 100644 --- a/src/jid.c +++ b/src/jid.c @@ -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; diff --git a/src/jid.h b/src/jid.h index 608d7ef4..3b172025 100644 --- a/src/jid.h +++ b/src/jid.h @@ -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, diff --git a/src/muc.c b/src/muc.c index c98c223b..0e26ccd2 100644 --- a/src/muc.c +++ b/src/muc.c @@ -29,6 +29,7 @@ #include "prof_autocomplete.h" typedef struct _muc_room_t { + char *room; // e.g. test@conference.server char *nick; // e.g. Some User char *subject; |