diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-12-12 17:00:02 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-12-12 17:00:02 +0000 |
commit | 1834845f2c19d89d09d46b83760bfb18676274e6 (patch) | |
tree | 7f2dea48570fc0c76f11b6a1356da31b5b52dc38 | |
parent | 6419d6f7beb6af32facab158fcfb4f2dc973ccf0 (diff) | |
download | fetchmail-1834845f2c19d89d09d46b83760bfb18676274e6.tar.gz fetchmail-1834845f2c19d89d09d46b83760bfb18676274e6.tar.bz2 fetchmail-1834845f2c19d89d09d46b83760bfb18676274e6.zip |
Remove excess no-op strcpy() after strdup() found by Andreas Krennmair.
svn path=/branches/BRANCH_6-3/; revision=4989
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | sink.c | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -88,6 +88,9 @@ fetchmail 6.3.6 (not yet released): * Fix crash on systems that do not provide strdup() in out-of-memory conditions. Patch by Andreas Krennmair. +# CHANGES: +* Remove excess no-op strcpy() after strdup() found by Andreas Krennmair. + # TRANSLATIONS: * New en_GB (British English) translation by David Lodge. * Update Japanese (Takeshi Hamasaki), Polish (Jakub Bogusz), Russian (Pavel @@ -957,7 +957,6 @@ transient: case PS_SUCCESS: #ifdef EXPLICIT_BOUNCE_ON_BAD_ADDRESS from_responses[*bad_addresses] = xstrdup(smtp_response); - strcpy(from_responses[*bad_addresses], smtp_response); #endif /* EXPLICIT_BOUNCE_ON_BAD_ADDRESS */ (*bad_addresses)++; |