]> andersk Git - moira.git/commitdiff
fix stupid bug in the smsdown code
authordanw <danw>
Wed, 3 Feb 1999 18:53:59 +0000 (18:53 +0000)
committerdanw <danw>
Wed, 3 Feb 1999 18:53:59 +0000 (18:53 +0000)
reg_svr/reg_svr.pc

index b53aef17f5cbfc1f369536a0b65cc8d122f989af..51e85dbd40c767b488da94df4a2e622fe09b7459 100644 (file)
@@ -160,12 +160,12 @@ int main(int argc, char **argv)
     {
       if (state == RS_RUNNING && stat(MOIRA_MOTD_FILE, &st) == 0)
        {
-         state == RS_SLEEPING;
+         state = RS_SLEEPING;
          com_err(whoami, 0, "found motd. reg_svr is sleeping");
        }
       else if (state == RS_SLEEPING && stat(MOIRA_MOTD_FILE, &st) == -1)
        {
-         state == RS_RUNNING;
+         state = RS_RUNNING;
          com_err(whoami, 0, "motd gone. reg_svr is running");
        }
 
This page took 0.050335 seconds and 5 git commands to generate.