Removed all traces of sprintf() from all server code and

from all drivers.  All drivers compile without warnings.
This commit is contained in:
ddouthitt committed 2001-09-25 15:02:33 +00:00
1 parent 0307a9112e
commit 44e7f83dfd
8 files changed
+33 -33

No files matched your search

+1 -1
View File
@@ -433,7 +433,7 @@ exit_program (int val)
case 1: strcat(buf, "SIGHUP"); break;
case 2: strcat(buf, "SIGINT"); break;
case 15: strcat(buf, "SIGTERM"); break;
default: sprintf(buf, "server shutting down on signal %d", val); break;
default: snprintf(buf, sizeof(buf), "server shutting down on signal %d", val); break;
// Other values should not be seen, but just in case..
}