X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fjsonrpc.c;h=705cef77ab09ea2184dfa8e546d13baf9b24abbc;hb=0ab14c8e284b7c5c68aff1ccc6795a1d4b58bd49;hp=afcc5208242936e58d51972833891653991a8714;hpb=0b3e7a8b717b8c50c24244f7054079ede61742f2;p=openvswitch diff --git a/lib/jsonrpc.c b/lib/jsonrpc.c index afcc5208..705cef77 100644 --- a/lib/jsonrpc.c +++ b/lib/jsonrpc.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010 Nicira Networks. + * Copyright (c) 2009, 2010, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -293,7 +293,7 @@ void jsonrpc_recv_wait(struct jsonrpc *rpc) { if (rpc->status || rpc->received || !byteq_is_empty(&rpc->input)) { - poll_immediate_wake(); + (poll_immediate_wake)(rpc->name); } else { stream_recv_wait(rpc->stream); }