[Eisfair] SCSI-Module nachladen - wie war das gleich?
Thomas Bork
tom at eisfair.org
Di Aug 22 20:58:03 CEST 2017
Am 22.08.2017 um 20:09 schrieb Marcus Roeckrath:
> Mit entsprechenden C-Kenntnissen läßt sich das möglicherweise beheben.
pvscsi 2.7.12 # diff -Nurp safte-monitor-1.0.0rc1.org safte-monitor-1.0.0rc1
diff -Nurp safte-monitor-1.0.0rc1.org/mathopd-1.3pl7-lite/request.c
safte-monitor-1.0.0rc1/mathopd-1.3pl7-lite/request.c
--- safte-monitor-1.0.0rc1.org/mathopd-1.3pl7-lite/request.c
2004-01-21 15:58:41.134775720 +0100
+++ safte-monitor-1.0.0rc1/mathopd-1.3pl7-lite/request.c
2017-08-22 22:52:40.111980527 +0200
@@ -211,7 +211,7 @@ static char *rfctime(time_t t, char *buf
return buf;
}
-static char *getline(struct pool *p)
+static char *my_getline(struct pool *p)
{
register char *s;
char *olds, *sp, *end;
@@ -248,7 +248,7 @@ static char *getline(struct pool *p)
break;
}
}
- log_d("getline: fallen off the end");
+ log_d("my_getline: fallen off the end");
return 0;
}
@@ -755,7 +755,7 @@ static int process_headers(struct reques
time_t i;
while (1) {
- l = getline(r->cn->input);
+ l = my_getline(r->cn->input);
if (l == 0) {
return -1;
}
@@ -783,7 +783,7 @@ static int process_headers(struct reques
r->args = s + 1;
*s = 0;
}
- while ((l = getline(r->cn->input)) != 0) {
+ while ((l = my_getline(r->cn->input)) != 0) {
s = strchr(l, ':');
if (s == 0)
continue;
--
der tom
[eisfair-team]
Mehr Informationen über die Mailingliste Eisfair