Commit d788b9fa authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor fix to dorpms; avoid null string

parent 0cda0477
......@@ -880,6 +880,11 @@ dorpms(int sock, struct in_addr ipaddr, char *request, int tcp)
* Text string is a colon separated list.
row = mysql_fetch_row(res);
if (! row[0]) {
return 0;
bp = row[0];
sp = bp;
do {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment