comparison lib-src/gnuclient.c @ 375:a300bb07d72d r21-2b3

Import from CVS: tag r21-2b3
author cvs
date Mon, 13 Aug 2007 11:04:51 +0200
parents 6240c7796c7a
children 8626e4521993
comparison
equal deleted inserted replaced
374:4ebeb1a5388b 375:a300bb07d72d
215 215
216 if (len > 0 && fullpath[len-1] == '/') /* trailing slash already? */ 216 if (len > 0 && fullpath[len-1] == '/') /* trailing slash already? */
217 ; /* yep */ 217 ; /* yep */
218 else 218 else
219 strcat (fullpath, "/"); /* nope, append trailing slash */ 219 strcat (fullpath, "/"); /* nope, append trailing slash */
220 /* Don't forget to add the filename! */
221 strcat (fullpath,filename);
220 } 222 }
221 } /* filename_expand */ 223 } /* filename_expand */
222 224
223 /* Encase the string in quotes, escape all the backslashes and quotes 225 /* Encase the string in quotes, escape all the backslashes and quotes
224 in string. */ 226 in string. */