- Timestamp:
- Jul 23, 2009, 12:53:57 AM (15 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- ba6c8bd
- Parents:
- 029a8b5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
aim.c
r029a8b5 r4d86e06 346 346 aim_conn_t *cur; 347 347 /* 348 OscarData *od = (OscarData *)g->proto_data;348 OscarData *od = g->proto_data; 349 349 char *name, *exchange; 350 350 */ … … 429 429 430 430 aimsess=owl_global_get_aimsess(&g); 431 priv = (struct owlfaim_priv *)aimsess->aux_data;431 priv = aimsess->aux_data; 432 432 433 433 /* do a select without blocking */ … … 479 479 static int faimtest_parse_login(aim_session_t *sess, aim_frame_t *fr, ...) 480 480 { 481 struct owlfaim_priv *priv = (struct owlfaim_priv *)sess->aux_data;481 struct owlfaim_priv *priv = sess->aux_data; 482 482 struct client_info_s info = CLIENTINFO_AIM_KNOWNGOOD; 483 483 … … 703 703 static int faimtest_parse_connerr(aim_session_t *sess, aim_frame_t *fr, ...) 704 704 { 705 struct owlfaim_priv *priv = (struct owlfaim_priv *)sess->aux_data;705 struct owlfaim_priv *priv = sess->aux_data; 706 706 va_list ap; 707 707 fu16_t code; … … 879 879 static int faimtest_reportinterval(aim_session_t *sess, aim_frame_t *fr, ...) 880 880 { 881 struct owlfaim_priv *priv = (struct owlfaim_priv *)sess->aux_data;881 struct owlfaim_priv *priv = sess->aux_data; 882 882 va_list ap; 883 883 fu16_t interval; … … 944 944 static int getaimdata(aim_session_t *sess, unsigned char **bufret, int *buflenret, unsigned long offset, unsigned long len, const char *modname) 945 945 { 946 struct owlfaim_priv *priv = (struct owlfaim_priv *)sess->aux_data;946 struct owlfaim_priv *priv = sess->aux_data; 947 947 FILE *f; 948 948 static const char defaultmod[] = "aim.exe"; … … 1069 1069 static int faimtest_memrequest(aim_session_t *sess, aim_frame_t *fr, ...) 1070 1070 { 1071 struct owlfaim_priv *priv = (struct owlfaim_priv *)sess->aux_data;1071 struct owlfaim_priv *priv = sess->aux_data; 1072 1072 va_list ap; 1073 1073 fu32_t offset, len; … … 1168 1168 static int faimtest_parse_incoming_im_chan1(aim_session_t *sess, aim_conn_t *conn, aim_userinfo_t *userinfo, struct aim_incomingim_ch1_args *args) 1169 1169 { 1170 struct owlfaim_priv *priv = (struct owlfaim_priv *)sess->aux_data;1170 struct owlfaim_priv *priv = sess->aux_data; 1171 1171 owl_message *m; 1172 1172 char *stripmsg, *nz_screenname, *wrapmsg;
Note: See TracChangeset
for help on using the changeset viewer.