move brace to newline to follow conventions

This commit is contained in:
Will Song
2015-11-24 17:59:28 -06:00
parent b2bc69f926
commit 35b8d58270

View File

@@ -799,7 +799,8 @@ cmd_script(ProfWin *window, const char *const command, gchar **args)
/* escape a string into csv and write it to the file descriptor */ /* escape a string into csv and write it to the file descriptor */
static int static int
_writecsv(int fd, const char *const str){ _writecsv(int fd, const char *const str)
{
if(!str) return 0; if(!str) return 0;
size_t len = strlen(str); size_t len = strlen(str);
char *s = malloc(2 * len * sizeof(char)); char *s = malloc(2 * len * sizeof(char));