- 1
- 2
- 3
- 4
- 5
- 6
- 7
char str[256];
char ** pstr = (char **) &str;
char *p = str;
spprintf( &p, 0, "Ack errror; code=%d", res);
cnn->is_connected = 0;
zend_throw_exception(amqp_queue_exception_class_entry, *pstr ,0 TSRMLS_CC);