index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-04-29 12:03:09 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-29 12:03:09 -0400 |
commit | a58e17a1d7a9901bb32277c9aed7edded3501767 (patch) | |
tree | 25209ab6fcfb551da7d55ee9a1e8e0c235511e2d /lib/libalpm/sync.c | |
parent | ea327cab843397a5727a8a0dd560aab8e0975df6 (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 2 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 603504e8..9af25c13 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -266,7 +266,7 @@ int _alpm_sync_addtarget(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t *dbs_sy ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1)); ASSERT(name != NULL, RET_ERR(PM_ERR_WRONG_ARGS, -1)); - STRNCPY(targline, name, PKG_FULLNAME_LEN); + strncpy(targline, name, PKG_FULLNAME_LEN); targ = strchr(targline, '/'); if(targ) { *targ = '\0'; |