Remove `upcase´
Check HAVE_SETSOCKOPT git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1206 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -63,25 +63,6 @@ RCSID("$Id$");
|
||||
FILE *NetTrace = 0; /* Not in bss, since needs to stay */
|
||||
int prettydump;
|
||||
|
||||
/*
|
||||
* upcase()
|
||||
*
|
||||
* Upcase (in place) the argument.
|
||||
*/
|
||||
|
||||
void
|
||||
upcase(char *argument)
|
||||
{
|
||||
int c;
|
||||
|
||||
while ((c = *argument) != 0) {
|
||||
if (islower(c)) {
|
||||
*argument = toupper(c);
|
||||
}
|
||||
argument++;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* SetSockOpt()
|
||||
*
|
||||
@@ -91,6 +72,7 @@ upcase(char *argument)
|
||||
int
|
||||
SetSockOpt(int fd, int level, int option, int yesno)
|
||||
{
|
||||
#ifdef HAVE_SETSOCKOPT
|
||||
#ifndef NOT43
|
||||
return setsockopt(fd, level, option,
|
||||
(void *)&yesno, sizeof yesno);
|
||||
@@ -102,6 +84,9 @@ SetSockOpt(int fd, int level, int option, int yesno)
|
||||
}
|
||||
return setsockopt(fd, level, option, 0, 0);
|
||||
#endif /* NOT43 */
|
||||
#else
|
||||
return -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user