[Rprotobuf-commits] r306 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Apr 8 21:49:57 CEST 2010


Author: romain
Date: 2010-04-08 21:49:57 +0200 (Thu, 08 Apr 2010)
New Revision: 306

Modified:
   pkg/R/http.handler.R
Log:
thinko

Modified: pkg/R/http.handler.R
===================================================================
--- pkg/R/http.handler.R	2010-04-08 19:47:08 UTC (rev 305)
+++ pkg/R/http.handler.R	2010-04-08 19:49:57 UTC (rev 306)
@@ -1,12 +1,12 @@
 
 RProtoBuf.http.handler <- function(path, query, body) { 
-
-	if( !all( c("service", "method" ) ) %in% names(query) ){
+	
+	if( !all( c("service", "method" ) %in% names(query) ) ){
 		stop( "need service and method " )
 	}
 	service <- query[["service"]]
 	method  <- query[["method"]]
-	
+	  
 	m <- get( 
 		sprintf( "%s.%s", service, method ), 
 		as.environment( "RProtoBuf:DescriptorPool" )



More information about the Rprotobuf-commits mailing list