]> andersk Git - moira.git/blobdiff - server/qaccess.pc
Use #define for Billable status.
[moira.git] / server / qaccess.pc
index a811beb227b8a53545536ca086017084b4381e67..21fcf19612e2c29cbb35173c97cc5ee1f8cc2734 100644 (file)
@@ -452,7 +452,7 @@ int access_host(struct query *q, char *argv[], client *cl)
 
       if (q->version >= 8)
        {
-         if (subnet_status == 1) /* status 1 == Billable */
+         if (subnet_status == SNET_STATUS_BILLABLE)
            {
              account_number = argv[7];
              EXEC SQL SELECT account_number FROM accountnumbers 
This page took 0.042221 seconds and 4 git commands to generate.