comparison lib-src/gnuclient.c @ 321:19dcec799385 r21-0-58

Import from CVS: tag r21-0-58
author cvs
date Mon, 13 Aug 2007 10:46:44 +0200
parents afd57c14dfc8
children 1d62742628b6
comparison
equal deleted inserted replaced
320:73c75c43c1f2 321:19dcec799385
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. */