diff options
author | jbj <devnull@localhost> | 1999-10-21 20:36:16 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-10-21 20:36:16 +0000 |
commit | bd34f27bb4617a172b1fee3be70b040e041858a1 (patch) | |
tree | 23af919ca601a477ebba4a0672a3b7d2770528f9 /popt/popt.c | |
parent | c8b83b08c57667fe92ad68a76eba9dff8abd031e (diff) | |
download | rpm-bd34f27bb4617a172b1fee3be70b040e041858a1.tar.gz rpm-bd34f27bb4617a172b1fee3be70b040e041858a1.tar.bz2 rpm-bd34f27bb4617a172b1fee3be70b040e041858a1.zip |
lclint annotations and compiler cruft.
CVS patchset: 3394
CVS date: 1999/10/21 20:36:16
Diffstat (limited to 'popt/popt.c')
-rw-r--r-- | popt/popt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/popt/popt.c b/popt/popt.c index 90758998d..df3b7f52b 100644 --- a/popt/popt.c +++ b/popt/popt.c @@ -536,12 +536,12 @@ int poptAddAlias(poptContext con, struct poptAlias newAlias, sizeof(newAlias) * con->numAliases); alias = con->aliases + aliasNum; - alias->longName = (newAlias->longName) - ? strcpy(malloc(strlen(newAlias->longName) + 1), newAlias->longName) + alias->longName = (newAlias.longName) + ? strcpy(malloc(strlen(newAlias.longName) + 1), newAlias.longName) : NULL; - alias->shortName = newAlias->shortName; - alias->argc = newAlias->argc; - alias->argv = newAlias->argv; + alias->shortName = newAlias.shortName; + alias->argc = newAlias.argc; + alias->argv = newAlias.argv; return 0; } |