Fix long lines. No functional changes.
This commit is contained in:
parent
45ad6a8e71
commit
b5c62f5c89
2 changed files with 3 additions and 2 deletions
|
@ -54,7 +54,7 @@ static void anti_torp(int f, int ntorping, int vshipown);
|
||||||
static int candchrg(struct shpstr *, struct shpstr *);
|
static int candchrg(struct shpstr *, struct shpstr *);
|
||||||
static int canshoot(struct shpstr *, struct shpstr *);
|
static int canshoot(struct shpstr *, struct shpstr *);
|
||||||
static int cantorp(struct shpstr *, struct shpstr *);
|
static int cantorp(struct shpstr *, struct shpstr *);
|
||||||
static void fire_dchrg(struct shpstr *sp, struct shpstr *targ, int ntargets);
|
static void fire_dchrg(struct shpstr *, struct shpstr *, int);
|
||||||
static int fire_torp(struct shpstr *, struct shpstr *, int, int);
|
static int fire_torp(struct shpstr *, struct shpstr *, int, int);
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -90,7 +90,8 @@ turn(void)
|
||||||
pr("Removing exsting motd.\n");
|
pr("Removing exsting motd.\n");
|
||||||
if ((unlink(msgfilepath) == -1) && (errno != ENOENT)) {
|
if ((unlink(msgfilepath) == -1) && (errno != ENOENT)) {
|
||||||
pr("Could not remove motd.\n");
|
pr("Could not remove motd.\n");
|
||||||
logerror("Could not remove motd file (%s).\n", msgfilepath);
|
logerror("Could not remove motd file (%s).\n",
|
||||||
|
msgfilepath);
|
||||||
return RET_SYS;
|
return RET_SYS;
|
||||||
}
|
}
|
||||||
return RET_OK;
|
return RET_OK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue