Fix typo.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Wed, 5 Jul 2006 20:36:37 +0000 (20:36 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Wed, 5 Jul 2006 20:36:37 +0000 (20:36 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@668 959494ce-11ee-0310-bf91-de5d638817bd

daemon/fnet-dc.c

index 1e4406c..a74be23 100644 (file)
@@ -2790,7 +2790,7 @@ static void udpread(struct socket *sk, void *data)
            free(buf);
            return;
        }
-       *(p2 + 1) = 0;
+       *(p2++) = 0;
        hubaddr.sin_family = AF_INET;
        if(!inet_aton(p, &hubaddr.sin_addr))
        {