Update of /cvsroot/playerstage/code/player/server/drivers/map
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7891/server/drivers/map
Modified Files:
mapfile.cc
Log Message:
Changes to message class to remove option to set size explicitly.
This only work by coincidence for structures with one array at the end of them.
Also Message class now uses the auto generated clone and free methods.
Index: mapfile.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/drivers/map/mapfile.cc,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** mapfile.cc 23 Aug 2007 19:58:44 -0000 1.30
--- mapfile.cc 21 Sep 2007 03:31:51 -0000 1.31
***************
*** 292,301 ****
this->device_addr))
{
- if(hdr->size != 0)
- {
- PLAYER_ERROR2("request is wrong length (%d != %d); ignoring",
- hdr->size, sizeof(player_laser_config_t));
- return(-1);
- }
player_map_info_t info;
info.scale = this->resolution;
--- 292,295 ----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit