ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/object.h
(Generate patch)

Comparing deliantra/server/include/object.h (file contents):
Revision 1.156 by root, Fri Apr 11 13:59:06 2008 UTC vs.
Revision 1.157 by root, Fri Apr 11 14:09:56 2008 UTC

101 101
102 typedef char BUF [32]; 102 typedef char BUF [32];
103 103
104 bool parse (const char *s) 104 bool parse (const char *s)
105 { 105 {
106 return sscanf (s, "<1%*[,.]%" SCNx64 ">", &seq) == 1; 106 return sscanf (s, "<1.%" SCNx64 ">", &seq) == 1;
107 } 107 }
108 108
109 const char *c_str (char *buf, int len) const 109 const char *c_str (char *buf, int len) const
110 { 110 {
111 snprintf (buf, len, "<1.%" PRIx64 ">", seq); 111 snprintf (buf, len, "<1.%" PRIx64 ">", seq);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines