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

Comparing deliantra/server/server/swap.C (file contents):
Revision 1.9 by root, Wed Dec 13 02:55:51 2006 UTC vs.
Revision 1.10 by root, Thu Dec 14 22:45:41 2006 UTC

88 cp = strchr (buf, ':'); 88 cp = strchr (buf, ':');
89 *cp++ = '\0'; 89 *cp++ = '\0';
90 strcpy (map->path, buf); 90 strcpy (map->path, buf);
91 cp1 = strchr (cp, ':'); 91 cp1 = strchr (cp, ':');
92 *cp1++ = '\0'; 92 *cp1++ = '\0';
93 map->tmpname = strdup_local (cp); 93 map->tmpname = strdup (cp);
94 94
95 /* Lock is left over from the lock items - we just toss it now. 95 /* Lock is left over from the lock items - we just toss it now.
96 * We use it twice - second one is from encounter, but as we 96 * We use it twice - second one is from encounter, but as we
97 * don't care about the value, this works fine 97 * don't care about the value, this works fine
98 */ 98 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines