Changes in query.c [9143aeb:7f421d6]
Legend:
- Unmodified
- Added
- Removed
-
query.c
r9143aeb r7f421d6 30 30 static query_t *query_default( irc_t *irc ); 31 31 32 query_t *query_add( irc_t *irc, struct im_connection *ic, char *question, 33 query_callback yes, query_callback no, void *data ) 32 query_t *query_add( irc_t *irc, struct im_connection *ic, char *question, void *yes, void *no, void *data ) 34 33 { 35 34 query_t *q = g_new0( query_t, 1 ); … … 145 144 else 146 145 irc_usermsg( irc, "Accepted: %s", q->question ); 147 q->yes( q->data );146 q->yes( NULL, q->data ); 148 147 } 149 148 else … … 153 152 else 154 153 irc_usermsg( irc, "Rejected: %s", q->question ); 155 q->no( q->data );154 q->no( NULL, q->data ); 156 155 } 157 156 q->data = NULL;
Note: See TracChangeset
for help on using the changeset viewer.