comparison src/readsock.c @ 367:b27f66555ba8

Reformated multiline comments to have leading asterisks on each line Now we use: /* ** comment */ This makes the indent style simpler, too.
author markus schnalke <meillo@marmaro.de>
date Thu, 20 Oct 2011 10:20:59 +0200
parents 41958685480d
children b35c17fcf69d
comparison
equal deleted inserted replaced
366:41958685480d 367:b27f66555ba8
1 /* MasqMail 1 /*
2 Copyright (C) 2000 Oliver Kurth 2 ** MasqMail
3 3 ** Copyright (C) 2000 Oliver Kurth
4 This program is free software; you can redistribute it and/or modify 4 **
5 it under the terms of the GNU General Public License as published by 5 ** This program is free software; you can redistribute it and/or modify
6 the Free Software Foundation; either version 2 of the License, or 6 ** it under the terms of the GNU General Public License as published by
7 (at your option) any later version. 7 ** the Free Software Foundation; either version 2 of the License, or
8 8 ** (at your option) any later version.
9 This program is distributed in the hope that it will be useful, 9 **
10 but WITHOUT ANY WARRANTY; without even the implied warranty of 10 ** This program is distributed in the hope that it will be useful,
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
12 GNU General Public License for more details. 12 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 13 ** GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License 14 **
15 along with this program; if not, write to the Free Software 15 ** You should have received a copy of the GNU General Public License
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 16 ** along with this program; if not, write to the Free Software
17 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 */ 18 */
18 19
19 #include <signal.h> 20 #include <signal.h>
20 #include <stdio.h> 21 #include <stdio.h>
21 #include <stdlib.h> 22 #include <stdlib.h>
129 } 130 }
130 return p; 131 return p;
131 } 132 }
132 133
133 int 134 int
134 read_sockline1(FILE *in, char **pbuf, int *buf_len, int timeout, unsigned int flags) 135 read_sockline1(FILE *in, char **pbuf, int *buf_len, int timeout,
136 unsigned int flags)
135 { 137 {
136 int p = 0, size = *buf_len; 138 int p = 0, size = *buf_len;
137 char *buf; 139 char *buf;
138 140
139 if (setjmp(jmp_timeout) != 0) { 141 if (setjmp(jmp_timeout) != 0) {