sync 3.0 into HEAD for the last time
[metze/samba/wip.git] / source3 / auth / auth_rhosts.c
index fab2d551f29c4e43f66dd41a9e09e97418d7a92c..b295df9328f2be655242bdb4695fec72f3e9dede 100644 (file)
@@ -40,7 +40,7 @@ static BOOL check_user_equiv(const char *user, const char *remote, const char *e
   if (! lines) return False;
   for (i=0; lines[i]; i++) {
     char *buf = lines[i];
-    trim_string(buf," "," ");
+    trim_char(buf,' ',' ');
 
     if (buf[0] != '#' && buf[0] != '\n') 
     {