source: trunk/dports/irc/bitchx/files/patch-source__server.c @ 21484

Last change on this file since 21484 was 21484, checked in by eridius@…, 13 years ago

Massive update to svn properties on files:
All patchfiles have svn:eol-style removed.
All files that are not in fact able to be executed have svn:executable removed
All binary files have svn:eol-style removed (and are probably corrupt)
All binary files have svn:mime-type set to application/octet-stream
All files which are not patchfiles or binary files have svn:eol-style set to native
All Portfiles have svn:eol-style set to native and svn:executable removed

File size: 490 bytes
1--- source/server.c.orig        Thu Apr  1 04:30:58 2004
2+++ source/server.c     Thu Apr  1 04:31:12 2004
3@@ -151,7 +151,7 @@
4                        if (x_debug & DEBUG_OUTBOUND)
5                                yell("Closing server %d because [%s]",
6                                           cs_index, message ? message : empty_string);
7-                       snprintf(buffer, BIG_BUFFER_SIZE, "QUIT :%s\n", message);
8+                       snprintf(buffer, sizeof buffer, "QUIT :%s\n", message);
9 #ifdef HAVE_SSL
10                        if (get_server_ssl(cs_index))
11                                SSL_write(server_list[cs_index].ssl_fd, buffer, strlen(buffer));
Note: See TracBrowser for help on using the repository browser.