aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2006-06-03 03:18:03 +0000
committerschnetter <schnetter@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2006-06-03 03:18:03 +0000
commita2908dcaab684b6bb42ba5a5354be0ba8a2707c5 (patch)
tree6e1a3c06a66a2565b74267fa7f4a856a974013d6
parent984a62e44b59385521689e8db154e4f0a52bd5d1 (diff)
Treat groups where QueryGroupStorage returns an error as groups
without storage, not as groups with storage. git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@230 1faa4e14-9dd3-4be0-9f0e-ffe519881164
-rw-r--r--src/Groups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Groups.c b/src/Groups.c
index 16624cb..51e48f9 100644
--- a/src/Groups.c
+++ b/src/Groups.c
@@ -163,7 +163,7 @@ static int GroupsPage(const cGH *cctkGH, httpRequest *request, void *data)
SetToCString(message,"<tr>");
groupname = CCTK_GroupName(i);
- if (CCTK_QueryGroupStorageI(cctkGH,i))
+ if (CCTK_QueryGroupStorageI(cctkGH,i) > 0)
{
ConcatCString(message, " <td>[");
ConcatDecimal(message, i);