]> andersk Git - moira.git/commitdiff
fix a bug in ChangeUserPOBox caused by the fact that get_pobox now
authordanw <danw>
Tue, 23 Nov 1999 19:58:51 +0000 (19:58 +0000)
committerdanw <danw>
Tue, 23 Nov 1999 19:58:51 +0000 (19:58 +0000)
returns more arguments than set_pobox takes.

clients/moira/pobox.c

index 112af264884e93ba184f8a9226666d33af7e1cc5..34b8f747483a1c9f37c7c614f3ba425104e7a8d7 100644 (file)
@@ -243,7 +243,7 @@ int SetUserPOBox(int argc, char **argv)
   args[PO_NAME] = local_user;
   args[PO_TYPE] = type;
   args[PO_BOX] = box;
-  args[PO_END] = NULL;
+  args[3] = NULL;
   if ((status = do_mr_query("set_pobox", CountArgs(args), args,
                            NULL, NULL)))
     com_err(program_name, status, " in ChangeUserPOBox");
This page took 0.113945 seconds and 5 git commands to generate.