diff options
author | John Kohl <jtkohl@mit.edu> | 1987-07-02 15:04:59 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1987-07-02 15:04:59 +0000 |
commit | 76ff7daa90a1c117698adc62485bc943a861a050 (patch) | |
tree | 5fcf48a959a1d04ba53f65bbf391c200fab688fa /server/uloc.c | |
parent | c4a77b6fe4937972396b4b6a2d1e232835d36a2d (diff) |
lint fixex
Diffstat (limited to 'server/uloc.c')
-rw-r--r-- | server/uloc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/server/uloc.c b/server/uloc.c index 0453bf5..3385bd3 100644 --- a/server/uloc.c +++ b/server/uloc.c @@ -154,8 +154,6 @@ login_type visible; struct sockaddr_in *who; { ZLocation_t *loc; - register char *cp; - char *base; if ((loc = ulogin_find(notice, 1)) != NULLZLT) { zdbug1("ul_add: already here"); @@ -262,7 +260,7 @@ struct sockaddr_in *who; #define ADVANCE(xx) { cp += (strlen(cp) + 1); \ if (cp >= base + notice->z_message_len) { \ syslog(LOG_ERR, "zloc bad format %d", xx); \ - return; \ + return(1); \ } } static int @@ -376,7 +374,7 @@ void uloc_hflush(addr) struct in_addr *addr; { - ZLocation_t *loc, *loc2; + ZLocation_t *loc; register int i = 0, new_num = 0; /* slightly inefficient, assume the worst, and allocate enough space */ |