[GRASS-SVN] r50505 - grass/branches/develbranch_6/lib/db/dbmi_base
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 27 18:28:12 EST 2012
Author: hamish
Date: 2012-01-27 15:28:12 -0800 (Fri, 27 Jan 2012)
New Revision: 50505
Modified:
grass/branches/develbranch_6/lib/db/dbmi_base/xdrprocedure.c
Log:
r50503 caused a 'dbmi: Protocol error'
Modified: grass/branches/develbranch_6/lib/db/dbmi_base/xdrprocedure.c
===================================================================
--- grass/branches/develbranch_6/lib/db/dbmi_base/xdrprocedure.c 2012-01-27 21:33:19 UTC (rev 50504)
+++ grass/branches/develbranch_6/lib/db/dbmi_base/xdrprocedure.c 2012-01-27 23:28:12 UTC (rev 50505)
@@ -32,7 +32,7 @@
{
int stat = DB_OK;
- if (db__recv(n, sizeof(*n)) < sizeof(*n))
+ if (!db__recv(n, sizeof(*n)))
stat = DB_EOF;
return stat;
More information about the grass-commit
mailing list