summaryrefslogtreecommitdiffstats
path: root/source/nmbd/nmbd_elections.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-07-03 19:11:31 +0000
committerJeremy Allison <jra@samba.org>2003-07-03 19:11:31 +0000
commitff222716a08af65d26ad842ce4c2841cc6540959 (patch)
tree15a037eb0977e84bba245ad22d3002d46c2c740b /source/nmbd/nmbd_elections.c
parent02bc7be1ac6b75bf6559ea684bbc89ab3e19402e (diff)
downloadsamba-ff222716a08af65d26ad842ce4c2841cc6540959.tar.gz
samba-ff222716a08af65d26ad842ce4c2841cc6540959.tar.xz
samba-ff222716a08af65d26ad842ce4c2841cc6540959.zip
Removed strupper/strlower macros that automatically map to strupper_m/strlower_m.
I really want people to think about when they're using multibyte strings. Jeremy.
Diffstat (limited to 'source/nmbd/nmbd_elections.c')
-rw-r--r--source/nmbd/nmbd_elections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_elections.c b/source/nmbd/nmbd_elections.c
index 339a27d2078..b948eb9d04e 100644
--- a/source/nmbd/nmbd_elections.c
+++ b/source/nmbd/nmbd_elections.c
@@ -48,7 +48,7 @@ static void send_election_dgram(struct subnet_record *subrec, const char *workgr
SIVAL(p,5,timeup*1000); /* ms - Despite what the spec says. */
p += 13;
pstrcpy_base(p, server_name, outbuf);
- strupper(p);
+ strupper_m(p);
p = skip_string(p,1);
send_mailslot(False, BROWSE_MAILSLOT, outbuf, PTR_DIFF(p,outbuf),