fixed a bug that when calling an operation on a remote processor (grab or free),...
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 27 Mar 2008 22:00:08 +0000 (22:00 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 27 Mar 2008 22:00:08 +0000 (22:00 +0000)
src/conv-core/isomalloc.c

index 7aaa2ba0c8e1ce5644ac88e4113382d58fa1a557..4fd008420a22987d98e35f7803090c7076980579 100644 (file)
@@ -796,7 +796,7 @@ static void one_slotOP(const slotOP *op,int pe,int s,int n)
                op->local(CpvAccess(myss),s,n);
        else 
        {/*Remote request*/
-               slotmsg *m=prepare_slotmsg(s,e);
+               slotmsg *m=prepare_slotmsg(s,n);
                CmiSetHandler(m, freeOP.remote);
                CmiSyncSendAndFree(pe,sizeof(slotmsg),m);
        }