]> andersk Git - moira.git/blobdiff - reg_svr/reg_svr.pc
fix stupid bug in the smsdown code
[moira.git] / 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.091527 seconds and 4 git commands to generate.