Check-in [299fa6a68f]
Overview
Comment:Updated to actually set fgets_ret, oops
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:299fa6a68f31af84015521c3c1d29f481b03c50b
User & Date: rkeene on 2014-02-11 05:52:50
Other Links: manifest | tags
Context
2014-02-11
05:53
Removed unneeded assignment check-in: 8cb189c633 user: rkeene tags: trunk
05:52
Updated to actually set fgets_ret, oops check-in: 299fa6a68f user: rkeene tags: trunk
05:49
Updated to check fgets() return value and removed now unused variable check-in: 74c7ab003e user: rkeene tags: trunk
Changes

Modified filed.c from [602946c512] to [169b29728a].

602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
	}

	/* Note path */
	strcpy(buffer_st->path, path);

	for (i = 0; i < 100; i++) {
		buffer = buffer_st->tmpbuf;
		fgets(buffer, buffer_len, fp);
		if (fgets_ret == NULL) {
			break;
		}

		if (strncasecmp(buffer, "Range: ", 7) == 0) {
			workbuffer = buffer + 7;








|







602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
	}

	/* Note path */
	strcpy(buffer_st->path, path);

	for (i = 0; i < 100; i++) {
		buffer = buffer_st->tmpbuf;
		fgets_ret = fgets(buffer, buffer_len, fp);
		if (fgets_ret == NULL) {
			break;
		}

		if (strncasecmp(buffer, "Range: ", 7) == 0) {
			workbuffer = buffer + 7;