freebsd-ports/security/fressh/files/patch-transport::ssh_deattack.c
Eric Anholt d67b191224 Fix with newer gcc by converting multiline string literals to string
concatenation.  Changed the formatting of the strings to what was more likely
intended, so bump PORTREVISION.
2003-05-12 22:06:35 +00:00

24 lines
935 B
C

--- transport/ssh_deattack.c.orig Sun May 11 22:27:05 2003
+++ transport/ssh_deattack.c Sun May 11 22:27:06 2003
@@ -132,8 +132,8 @@
n = l;
h = (u_int32_t *) malloc(n * HASH_ENTRYSIZE);
if (h == NULL) {
- SSH_ERROR("Unable to allocate memory for CRC compensation
- attack detector: %s\n", strerror(errno));
+ SSH_ERROR("Unable to allocate memory for CRC compensation\n"
+ "attack detector: %s\n", strerror(errno));
return -1;
}
} else
@@ -144,8 +144,8 @@
h = (u_int32_t *) realloc(h, n * HASH_ENTRYSIZE);
if (h == NULL) {
- SSH_ERROR("Unable to allocate memory for CRC compensation
- attack detector: %s\n", strerror(errno));
+ SSH_ERROR("Unable to allocate memory for CRC compensation\n"
+ "attack detector: %s\n", strerror(errno));
return -1;
}
}