Wrong header size
authorFilippo Gioachin <gioachin@uiuc.edu>
Wed, 24 Mar 2010 01:16:09 +0000 (20:16 -0500)
committerFilippo Gioachin <gioachin@uiuc.edu>
Wed, 24 Mar 2010 01:16:09 +0000 (20:16 -0500)
src/conv-core/debug-conv.c

index feed238069b8c97d00b9c5f677827f84e41a5eb7..7d764cf09141352ac44772f2e4e298ae043a83ed 100644 (file)
@@ -192,7 +192,7 @@ static void CpdDebugCallMemStat(char *msg) {
 static void CpdDebugHandler(char *msg)
 {
     char name[128];
-    sscanf(msg+CmiMsgHeaderSizeBytes, "%s", name);
+    sscanf(msg+CmiReservedHeaderSize, "%s", name);
 
     if (strcmp(name, "freeze") == 0) {
       CpdFreeze();