Diff
Not logged in

Differences From:

File src/xfer.c part of check-in [22c1ac41d4] - Add separate "clone" permissions. Previously, one needed "History" premission in order to clone. But sometimes we want to grant clone without granting history. by drh on 2007-08-23 19:52:19. [view]

To:

File src/xfer.c part of check-in [507ee45f25] - Fix an off-by-one bug in the network protocol handler so that it can accept a zero-length file. by drh on 2007-08-25 12:31:55. Also file src/xfer.c part of check-in [b0ad3f90bc] - Merging aku's changes into the head. by drh on 2007-08-25 19:00:33. [view]

@@ -91,9 +91,9 @@
   if( pXfer->nToken<3
    || pXfer->nToken>4
    || !blob_is_uuid(&pXfer->aToken[1])
    || !blob_is_int(&pXfer->aToken[pXfer->nToken-1], &n)
-   || n<=0
+   || n<0
    || (pXfer->nToken==4 && !blob_is_uuid(&pXfer->aToken[2]))
   ){
     blob_appendf(&pXfer->err, "malformed file line");
     return;