From: Michael Meffie Date: Sat, 3 Mar 2012 14:42:12 +0000 (-0500) Subject: viced: fix -realm option arg parse X-Git-Tag: upstream/1.8.0_pre1^2~2707 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c0268c7299afc3eb0a3bde2972a8fee800b735b1;p=packages%2Fo%2Fopenafs.git viced: fix -realm option arg parse Advance only once per realm argument when processing the realm command line option. Change-Id: Id3873fbe213f27be673ec0c02a27a032dd33c002 Reviewed-on: http://gerrit.openafs.org/6860 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/viced/viced.c b/src/viced/viced.c index f150d25f4..f8e1c8d2d 100644 --- a/src/viced/viced.c +++ b/src/viced/viced.c @@ -1381,7 +1381,6 @@ ParseArgs(int argc, char *argv[]) } strncpy(local_realms[num_lrealms++], optlist->data, AFS_REALM_SZ); - optlist = optlist->next; } }