aboutsummaryrefslogtreecommitdiff
path: root/mpiosh/callback.c
diff options
context:
space:
mode:
authorcrunchy <crunchy>2002-10-29 20:03:33 +0000
committercrunchy <crunchy>2002-10-29 20:03:33 +0000
commitc7351455575348d9d9847604069ee15132f2d8e0 (patch)
tree042afb35dc47c212456af5a5543c2c4e65763463 /mpiosh/callback.c
parent037e02905b802686be908d4f8cd989f0c5002b99 (diff)
downloadmpiosh-c7351455575348d9d9847604069ee15132f2d8e0.tar.gz
mpiosh-c7351455575348d9d9847604069ee15132f2d8e0.tar.bz2
mpiosh-c7351455575348d9d9847604069ee15132f2d8e0.zip
a special crunchy checkin: no testing;-)
Diffstat (limited to 'mpiosh/callback.c')
-rw-r--r--mpiosh/callback.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/mpiosh/callback.c b/mpiosh/callback.c
index 24cb402..dfd8474 100644
--- a/mpiosh/callback.c
+++ b/mpiosh/callback.c
@@ -2,7 +2,7 @@
*
* Author: Andreas Büsching <crunchy@tzi.de>
*
- * $Id: callback.c,v 1.29 2002/10/27 17:37:27 germeier Exp $
+ * $Id: callback.c,v 1.30 2002/10/29 20:03:34 crunchy Exp $
*
* Copyright (C) 2001 Andreas Büsching <crunchy@tzi.de>
*
@@ -76,8 +76,8 @@ mpiosh_cmd_version(char *args[])
void
mpiosh_cmd_help(char *args[])
{
- mpiosh_cmd_t *cmd = commands;
- int ignore;
+ struct mpiosh_cmd_t *cmd = commands;
+ int ignore;
while (cmd->cmd) {
if (args[0] != NULL) {
@@ -418,17 +418,17 @@ mpiosh_cmd_mput(char *args[])
FTYPE_MUSIC, mpiosh_callback_put) == -1) {
mpio_perror("error");
/* an existing file is no reason for a complete abort!! */
- if (mpio_errno()==MPIO_ERR_FILE_EXISTS)
+ if (mpio_errno() == MPIO_ERR_FILE_EXISTS)
continue;
break;
}
- written=1; /* we did write something, so do mpio_sync afterwards */
+ written = 1; /* we did write something, so do mpio_sync afterwards */
printf("\n");
} else {
regerror(error, &regex, errortext, 100);
- debugn (2, "file does not match: %s (%s)\n",
- (*run)->d_name, errortext);
+ debugn(2, "file does not match: %s (%s)\n",
+ (*run)->d_name, errortext);
}
free(*run);
}
@@ -646,7 +646,7 @@ mpiosh_cmd_dump_mem(char *args[])
void
mpiosh_cmd_config(char *args[])
{
- BYTE *config_data, *p;
+ BYTE *config_data;
int size;
MPIOSH_CHECK_CONNECTION_CLOSED;
@@ -715,7 +715,6 @@ mpiosh_cmd_config(char *args[])
fprintf(stderr, "error: no arguments given\n");
printf("config [read|write|show] <\n");
}
-
}
void