/pidgin/main: eeb82d3d33b1: Add missing typedef
Tomasz Wasilczyk
twasilczyk at pidgin.im
Thu Feb 13 12:01:43 EST 2014
Changeset: eeb82d3d33b1720024ee7aef9bdfba87bb1b163d
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-02-13 18:01 +0100
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/eeb82d3d33b1
Description:
Add missing typedef
diffstat:
libpurple/internal.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diffs (18 lines):
diff --git a/libpurple/internal.h b/libpurple/internal.h
--- a/libpurple/internal.h
+++ b/libpurple/internal.h
@@ -157,6 +157,14 @@
#define purple_strlcpy(dest, src) g_strlcpy(dest, src, sizeof(dest))
#define purple_strlcat(dest, src) g_strlcat(dest, src, sizeof(dest))
+typedef union
+{
+ struct sockaddr sa;
+ struct sockaddr_in in;
+ struct sockaddr_in6 in6;
+ struct sockaddr_storage storage;
+} common_sockaddr_t;
+
#define PURPLE_WEBSITE "http://pidgin.im/"
#define PURPLE_DEVEL_WEBSITE "http://developer.pidgin.im/"
More information about the Commits
mailing list