Fix a typo in SunRPC decoding.
[bluesky.git] / nfs3 / rpc.c
index 465bcd3..40cf1b0 100644 (file)
@@ -684,7 +684,7 @@ static gboolean async_rpc_do_read(GIOChannel *channel,
         /* We were reading in the fragment body. */
         rpc->frag_len -= bytes_read;
 
-        if (rpc->frag_len = 0x80000000) {
+        if (rpc->frag_len == 0x80000000) {
             /* We have a complete message since this was the last fragment and
              * there are no more bytes in it.  Dispatch the message. */
             if (!async_rpc_dispatch(rpc)) {