Changeset 2c2df7d for protocols/jabber/jabber_util.c
- Timestamp:
- 2007-11-28T21:07:30Z (16 years ago)
- Branches:
- master
- Children:
- 2ff2076, fa30fa5
- Parents:
- 221a273
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber_util.c
r221a273 r2c2df7d 97 97 } 98 98 99 struct xt_node *jabber_make_error_packet( struct xt_node *orig, char *err_cond, char *err_type )99 struct xt_node *jabber_make_error_packet( struct xt_node *orig, char *err_cond, char *err_type, char *err_code ) 100 100 { 101 101 struct xt_node *node, *c; … … 109 109 c = xt_new_node( "error", NULL, c ); 110 110 xt_add_attr( c, "type", err_type ); 111 112 /* Add the error code, if present */ 113 if (err_code) 114 xt_add_attr( c, "code", err_code ); 111 115 112 116 /* To make the actual error packet, we copy the original packet and
Note: See TracChangeset
for help on using the changeset viewer.