Index: /trunk/src/libs/xpcom18a4/ipc/ipcd/client/src/ipcdclient.cpp
===================================================================
--- /trunk/src/libs/xpcom18a4/ipc/ipcd/client/src/ipcdclient.cpp	(revision 30076)
+++ /trunk/src/libs/xpcom18a4/ipc/ipcd/client/src/ipcdclient.cpp	(revision 30077)
@@ -384,5 +384,5 @@
         if (acceptedRV != IPC_WAIT_NEXT_MESSAGE)
         {
-          if (acceptedRV == S_OK)
+          if (acceptedRV == NS_OK)
           {
             // remove from pending queue
@@ -402,7 +402,7 @@
             // discard from pending queue
             if (beforeLastChecked)
-              td->pendingQ.RemoveAfter(beforeLastChecked);
+              td->pendingQ.DeleteAfter(beforeLastChecked);
             else
-              td->pendingQ.RemoveFirst();
+              td->pendingQ.DeleteFirst();
 
             lastChecked = nextToCheck;
