[Libevent-users] bufferevent_write(): 'data' argument should be const

Scott Kevill scott at GameRanger.com
Sun Apr 8 05:17:16 EDT 2007


The current declaration is:

int bufferevent_write(struct bufferevent *bufev, void *data, size_t  
size);

Within bufferevent_write(), 'data' is only used in a call to  
evbuffer_add() where the argument is const.

Scott.
-- 
Scott Kevill
GameRanger Technologies
http://www.GameRanger.com
multiplayer online gaming services



More information about the Libevent-users mailing list