]> andersk Git - moira.git/commitdiff
Correct offsets for both versions of gsnt.
authorzacheiss <zacheiss>
Tue, 21 Aug 2001 03:54:57 +0000 (03:54 +0000)
committerzacheiss <zacheiss>
Tue, 21 Aug 2001 03:54:57 +0000 (03:54 +0000)
server/qfollow.pc

index bcd7d46d906ccb9c9a01652b9e3777dd81a5d7d0..e27955234b85e8984730673c6ecd14383350167a 100644 (file)
@@ -526,13 +526,18 @@ int followup_gsnt(struct query *q, struct save_queue *sq, struct validate *v,
                  client *cl)
 {
   char **argv;
-  int status;
+  int status, idx;
+
+  if (q->version < 8)
+    idx = 0;
+  else
+    idx = 1;
 
   while (sq_get_data(sq, &argv))
     {
       mr_trim_args(q->vcnt, argv);
 
-      status = fix_ace(argv[7], &argv[8]);
+      status = fix_ace(argv[7 + idx], &argv[8 + idx]);
       if (status && status != MR_NO_MATCH)
        return status;
     }
This page took 0.041716 seconds and 5 git commands to generate.