ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/request.C
(Generate patch)

Comparing deliantra/server/socket/request.C (file contents):
Revision 1.93 by root, Tue May 1 05:48:21 2007 UTC vs.
Revision 1.94 by root, Thu May 3 09:26:45 2007 UTC

745 buf << " Combat: " << pl->combat_ob->name; 745 buf << " Combat: " << pl->combat_ob->name;
746 746
747 if (pl->golem) 747 if (pl->golem)
748 buf << " Golem: " << pl->golem->name; 748 buf << " Golem: " << pl->golem->name;
749 749
750 if (buf.empty ()) 750 buf.linearise (obuf);
751 *obuf = 0;
752 else
753 {
754 memcpy (obuf, buf.linearise () + 1, buf.size () - 1);
755 obuf [buf.size ()] = 0; 751 obuf [buf.size ()] = 0;
756 }
757} 752}
758 753
759#define AddIfInt64(Old,New,Type) if (Old != New) {\ 754#define AddIfInt64(Old,New,Type) if (Old != New) {\
760 Old = New; \ 755 Old = New; \
761 sl << uint8 (Type) << uint64 (New); \ 756 sl << uint8 (Type) << uint64 (New); \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines