*** empty log message ***
This commit is contained in:
@@ -41,7 +41,9 @@ glibtop_call_i (glibtop *server, glibtop_backend *backend, unsigned command,
|
||||
int *retval_ptr)
|
||||
{
|
||||
glibtop_command cmnd;
|
||||
#if 0
|
||||
int retval;
|
||||
#endif
|
||||
|
||||
glibtop_init_r (&server, 0, 0);
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ print '';
|
||||
print '#include <glibtop/backend.h>';
|
||||
print '';
|
||||
print '#include <glibtop-backend-private.h>';
|
||||
print '#include "command.h"';
|
||||
print '#include "server.h"';
|
||||
print '';
|
||||
|
||||
$feature_count = 0;
|
||||
|
||||
@@ -115,7 +115,7 @@ handle_slave_connection (int input, int output)
|
||||
|
||||
while (do_read (input, cmnd, sizeof (glibtop_command))) {
|
||||
fprintf (stderr, "Slave %d received command "
|
||||
"%d from client.\n", getpid (), cmnd->command);
|
||||
"%ld from client.\n", getpid (), (long) cmnd->command);
|
||||
|
||||
if (cmnd->send_size >= BUFSIZ)
|
||||
glibtop_error ("Client sent %d bytes, but buffer is %d",
|
||||
|
||||
@@ -70,6 +70,9 @@ BEGIN_LIBGTOP_DECLS
|
||||
#define GET_MAX_FDS() 256
|
||||
#endif
|
||||
|
||||
int
|
||||
do_read (int s, void *ptr, size_t total_size);
|
||||
|
||||
void
|
||||
handle_slave_connection (int input, int output);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user